Integration Tests

Integration tests are run on projects that contains the plugin maven-test-plugin under the POM build configuration.

Since integration test itself is for testing, the <testSourceDirectory> is no longer needed and the <sourceDirectory> is enough to be able to run the project test successfully. This matches the Maven convention of placing integration tests in a separate module.

The following POM snippet is an example build configuration of an integration test project.


To run the test:

mvn test

Like regular unit tests, the plugin requires that NUnit be installed and on the PATH to execute the tests.