gradle-scoverage | A plugin to enable the use of Scoverage in a gradle Scala | Plugin library
kandi X-RAY | gradle-scoverage Summary
kandi X-RAY | gradle-scoverage Summary
A plugin to enable the use of Scoverage in a gradle Scala project.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate the report from the given data
gradle-scoverage Key Features
gradle-scoverage Examples and Code Snippets
Community Discussions
Trending Discussions on gradle-scoverage
QUESTION
I am using gradle-scoverage with a multi-project Gradle build. I want to make use of the fact that :projectB's tests exercise code in :projectA. But gradle-scoverage 7.0.0 does not show any code coverage for the relevant line in :projectA in the coverage report for :projectB, and the coverage report for :projectA is only for that project.
I found a proposed solution in the GitHub issue tracker:
...ANSWER
Answered 2021-Aug-28 at 16:57By using the --debug
option to Gradle, I was able to see that the scoverage compilation task wasn't being run before the test execution.
So, in addition to the above changes, I needed to change:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gradle-scoverage
You can use gradle-scoverage like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the gradle-scoverage component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page