Skip to content

Build RunMavenTests

Daniel Dietsch edited this page Feb 4, 2016 · 2 revisions

Run an Ultimate test suite

  1. Switch to the folder trunk/source/BA_MavenParentUltimate
  2. Execute mvn integration-test -Pmanualtest -Dtest=MyUltimateTestSuite, where MyUltimateTestSuite is a class that extends UltimateTestSuite

The results are written to the following folder. trunk/source/UltimateTest/target/surefire-reports Note that if you invoke Maven with the ''clean'' argument all files in this folder will be deleted.

If you want to run your tests with assertions enabled (-ea) you have to execute the following command instead.

_JAVA_OPTIONS="-enableassertions" mvn integration-test -Pmanualtest -Dtest=MyUltimateTestSuite

Clone this wiki locally