Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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.

No Format
mvn test -Dtest=[classname]

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

No Format
mvn test -Dtest=FixedConeClustererTest

If you encounter a BUILD FAILURE with this command, please try the following

No Format
mvn test -Dtest=FixedConeClustererTest -DfailIfNoTests=false