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

Jacoco merge tests reports for different test suites and use merged report for JacocoCoverageVerification #21279

Open
swanandvk opened this issue Jul 18, 2022 · 0 comments

Comments

@swanandvk
Copy link

Expected Behavior

jacoco plugin should allow option to configure test source roots for generating merged jacoco test report eg: unit + integrationTest which in turn should be used for JacocoCoverageVerification.

Current Behavior

JacocoCoverageVerification only uses unit tests source root configured using JVM Test Suite Plugin

Context

Steps to Reproduce

  • apply JVM Test Suite Plugin
  • create two test suite config for integrationTest and test (unit test)
  • do gradle build

Observation:

  • generated report fails to apply JacocoCoverageVerification rules defined as part of combined report.

Your Environment

Build scan URL:

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

No branches or pull requests

2 participants