diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b4979fa4e6..1ca5fd48f5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -83,6 +83,13 @@ mvn clean install -Dtest=TestClassName ``` Note: Some tests will fail if `localhost` is not listed first in `/etc/hosts` file for the loopback addresses (IPv4 and IPv6). +To generate a report on test coverage, use: + +```bash +mvn clean install -Ptest-coverage org.openclover:clover-maven-plugin:aggregate org.openclover:clover-maven-plugin:clover +``` +The generated report is at `target/site/clover` and to access it start by opening `index.html` in the directory with a browser of choice. + For more information, including details on how WildFly Elytron is integrated in WildFly Core and WildFly, check out our [developer guide](https://wildfly-security.github.io/wildfly-elytron/getting-started-for-developers/). ## Contributing Guidelines diff --git a/pom.xml b/pom.xml index 12fb76eb18..9c35a98530 100644 --- a/pom.xml +++ b/pom.xml @@ -99,6 +99,7 @@ 4.3.3 2.40.0 2.3.0 + 4.5.2 INFO @@ -1242,10 +1243,54 @@ + + + org.openclover + clover-maven-plugin + ${version.org.openclover} + + + + + test-coverage + + + + org.openclover + clover-maven-plugin + + + clover-setup + process-sources + + setup + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + true + + + + com.github.siom79.japicmp + japicmp-maven-plugin + + true + + + + + modularizedJdk