code coverage report for a library should include only library specific files #11331
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Milestone
Bug Report or Feature Request (mark with an
x
)Area
Versions
Node: v8.11.1
Npm: 6.1.0
Windows 10
Repro steps
Coverage report contains some files from shared utils with wrong coverage percent because it didn't pick the shared-utils's spec file but included in instrumentation.
The log given by the failure
NA
Desired functionality
Need option to include only project specific files for code coverage report. Though we have option for excluding folder or files from coverage report, not helping in bigger mono repositories.
Every time I have to update angular.json to exclude every internal library reference I have.
Mention any other details that might be useful
codeCoverageInclude-> will help a lot or allow us use
!
in codeCoverageExcludeThe text was updated successfully, but these errors were encountered: