Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Below is an example of turning off maven-surefire-plugin during the "test" phase, and turning on maven-surefire-plugin for the "integration-test".  The key to turning off "test" phase execution is setting skip=true for the plugin's default configuration (<skip>true</skip>).

Code Block
<!-- skip unit test run, tests to be executed during integration-test -->

You can change the test directory to src/it in order to mark the difference with normal tests.

Code Block

Note : You cannot have unit tests and integration tests in the same Maven project.