|
Surefire Plugin
|
- by default, reports are generated in /target/surefire-reports
- by default, runs tests ending with *Test.java with `
mvn test` command
- has only one goal
- test - this goal is bound to the test phase of the default build lifecycle
- when test fails, it immediately aborts
|
|---|
|
Failsafe Plugin
|
- by default, reports are generated in /target/failsafe-reports/TEST-*.xml
- by default, runs tests ending with *IT.java with `
mvn verify` command
- has only two goals:
- failsafe:integration-test runs the integration tests of an application
- failsafe:verify verifies that the integration tests of an application passed
- when test fails, it does not immediately abort
|
|---|
|
JaCoCo Plugin
|
- a code coverage reports generator for Java projects used to measure how many lines of our code are executed during automated tests
|
|---|