Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test coverage for JUnit4 tests #93

Merged
merged 2 commits into from
Aug 25, 2021

Conversation

andre15silva
Copy link
Member

@andre15silva andre15silva commented Aug 25, 2021

This PR fixes the option coverTests but only for JUnit4 tests. For some, still unknown, reason, for JUnit5 and JUnit3 the coverage is not working. (#41 )

More importantly, this makes it so that test classes are excluded from the computation when the option is not set, even if they are included in the jacoco results.

The implementation is an alternative to specifying them in the excludes option of jacoco, since that option quickly runs out of stack space (see #57 )

@andre15silva
Copy link
Member Author

@martinezmatias this should be merged before #91

@martinezmatias martinezmatias merged commit d713a11 into ASSERT-KTH:master Aug 25, 2021
@martinezmatias
Copy link
Collaborator

Thanks @andre15silva !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants