RFR: 7446: Add Maven profile for enabling test coverage

Marcus Hirt hirt at openjdk.java.net
Thu Nov 25 19:30:06 UTC 2021


On Mon, 22 Nov 2021 21:03:13 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:

> This PR addresses JMC-7446 [[0]](https://bugs.openjdk.java.net/browse/JMC-7446), in which it would be nice to have a Maven profile for enabling test coverage.
> 
> At the moment, test coverage is enabled by default with no way of disabling it. This PR adds a Maven profile (in a similar vein to how uitests are run) that allows coverage reports to be enabled or disabled as desired. This profile is included in both the core and application poms.
> 
> Usage: `mvn clean install -P coverage`, or `mvn clean verify -P coverage -P uitests`, etc.
> 
> [0] https://bugs.openjdk.java.net/browse/JMC-7446

Marked as reviewed by hirt (Lead).

-------------

PR: https://git.openjdk.java.net/jmc/pull/336


More information about the jmc-dev mailing list