...
Tests are automatically run by maven during the build. Just run "mvn install" to run tests on the project.
NOTE: GUI tests are disabled by default. To run these, use:
Code Block |
---|
mvn -Pwith-gui-tests install |
IDE execution
You can run tests directly in your IDE.
If you use Eclipse, you need to install the TestNG eclipse plugin to run tests in the test-module.
...
They are slower to run since there is more components to manage or there is some i/o processing. To run integration tests use the command below:
Code Block |
---|
mvn -Prun-its install |
End-to-end tests
Those tests bootstrap and execute the entire application. They are heavy and keep to a minimum but they are used to execute end-to-end test.
...