-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
featureA new feature or requestA new feature or requestgood first issueGood for newcomersGood for newcomersp2Important issues not at the top of the work listImportant issues not at the top of the work list
Description
As a developer, I want to be able to run tests and have the reported coverage be absolute rather than just based on the imported paths so that I can have a wholistic overview of the level of test coverage.
Currently, if a file is not imported as part of a test it will never be reported via coverage and will not be reflected in the overall coverage metrics.
Proposal
Introduce a --collect-coverage-from option that will allow developers to control how coverage is collected.
Options
imports(default): collect coverage from imported files onlyall: collect coverage from all files
# Run tests and require 100% coverage across all files
very_good test --min-coverage 100 --collect-coverage-from allmtwichel
Metadata
Metadata
Assignees
Labels
featureA new feature or requestA new feature or requestgood first issueGood for newcomersGood for newcomersp2Important issues not at the top of the work listImportant issues not at the top of the work list
Type
Projects
Status
Backlog