Skip to content

Coverage in combination with changed option. #4868

Answered by AriPerkkio
OssamaSijbesma asked this question in Q&A
Discussion options

You must be logged in to vote

Currently --changed doesn't affect coverage in any way. If you have suggestions how it should behave, feel free to open feature request for this. There was also some similar discussion earlier here: #4057.

In your case you might get everything working nicely by using --coverage.enabled --coverage.all=false with the --changed. Then coverage report will only include the files that were imported by the test cases.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@OssamaSijbesma
Comment options

Answer selected by OssamaSijbesma

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants