You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

How to run a single test case in maven 2.

A single test can be run by using the following command, where classname should be replaced by the name of the class.

maven test -Dtest=[classname]

For instance, to run the FixedConeClustererTest, use this command.

mvn test -Dtest=FixedConeClustererTest
  • No labels