Added feature to exclude files from coverage analysis#68
Open
Johnlon wants to merge 7 commits intomtkopone:masterfrom
Johnlon:master
Open
Added feature to exclude files from coverage analysis#68Johnlon wants to merge 7 commits intomtkopone:masterfrom Johnlon:master
Johnlon wants to merge 7 commits intomtkopone:masterfrom
Johnlon:master
Conversation
…me exclusion filter regexs
example
<configuration>
<systemPropertyVariables>
<scct.debug>false</scct.debug>
<scct.project.name>${project.name}</scct.project.name>
<scct.coverage.file>${project.build.outputDirectory}/coverage.data</scct.coverage.file>
<scct.report.dir>${project.build.directory}/coverage-report</scct.report.dir>
<scct.source.dir>${project.build.sourceDirectory}</scct.source.dir>
<scct.excluded.paths.regex>src/main/scala/.*Excluded,other/excluded/path/regex</scct.excluded.paths.regex>
</systemPropertyVariables>
</configuration>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New system property provides a comma separated list of regex's for the paths to ignore in coverage.
Files matching these patterns are excluded from the final coverage reports.
I have tested against my own project and it works for me.
Any matching files are dropped entirely from the reports,
However, I have not been able to run any of the tests in the scct package as I keep getting an errors, presumably to do with my runtime env like the one below.