Integrated: 7446: Add Maven profile for enabling test coverage
Alex Macdonald
aptmac at openjdk.java.net
Thu Nov 25 19:34:05 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
This pull request has now been integrated.
Changeset: 35c8e0e2
Author: Alex Macdonald <aptmac at openjdk.org>
URL: https://git.openjdk.java.net/jmc/commit/35c8e0e2e555caeea4fd3760f054c0dffdd137a6
Stats: 218 lines in 7 files changed: 129 ins; 78 del; 11 mod
7446: Add Maven profile for enabling test coverage
Reviewed-by: hirt
-------------
PR: https://git.openjdk.java.net/jmc/pull/336
More information about the jmc-dev
mailing list