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 constructor coverage #42

Open
andre15silva opened this issue Jun 29, 2021 · 1 comment
Open

Fix constructor coverage #42

andre15silva opened this issue Jun 29, 2021 · 1 comment

Comments

@andre15silva
Copy link
Member

andre15silva commented Jun 29, 2021

Constructor coverage was broken by #35 . STAMP-project/test-runner#97 solves this.

See #35 (comment)

@andre15silva
Copy link
Member Author

#81 partly fixes this issue. It now works for JUnit4 tests.

The following examples are still not recording the (empty) constructor execution:

Failed tests: testExampleFL12SpectrumBasedOchiaiDefaultMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<6> but was:<4>
testExampleFL6MixedSpectrumBasedOchiaiSpoonMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<5> but was:<4>
testExampleFL6MixedSpectrumBasedOchiaiDefaultModeManualTestConfig(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<6> but was:<4>
testExampleFL4JUnit5SpectrumBasedOchiaiSpoonMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<5> but was:<4>
testExampleFL5JUnit3SpectrumBasedOchiaiSpoonMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<5> but was:<4>
testExampleFL4JUnit5SpectrumBasedOchiaiDefaultModeManualTestConfig(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<6> but was:<4>
testExampleFL5JUnit3SpectrumBasedOchiaiDefaultMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<6> but was:<4>
testExampleFL6MixedSpectrumBasedOchiaiDefaultMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<6> but was:<4>
testExampleFL4JUnit5SpectrumBasedOchiaiDefaultMode(fr.spoonlabs.flacoco.api.FlacocoTest): expected:<6> but was:<4>

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

No branches or pull requests

1 participant