-
Notifications
You must be signed in to change notification settings - Fork 43
Code Coverage
Ondrej Dockal edited this page Nov 22, 2018
·
2 revisions
You can generate a code coverage for the whole project by
mvn clean verify -Pjacoco
which will execute all tests. The coverage results can be found at jacoco-report/target/site/jacoco-aggregate/. In case of test failure, use maven parameter -Dmaven.test.failure.ignore=true
.
It is also possible to generate code coverage for one tests bundle. For examle
`mvn clean verify -pl tests/org.eclipse.reddeer.common.test -am`
which will execute only tests from org.eclipse.reddeer.common.test and generate the code coverage for org.eclipse.reddeer.common. Such results can be found at tests/org.eclipse.reddeer.common.test/target/site/jacoco-aggregate/.