coverage
Istanbul Coverage test for Betterer.
Classes
Class | Description |
---|---|
BettererCoverageTest | BettererCoverageTest provides a wrapper around BettererTest that makes it easier to implement coverage tests. |
Functions
Function | Description |
---|---|
coverage(coverageSummaryPath) | Use this test to track your per-file test coverage. Reads a json-summary format coverage summary. Make sure to run your tests separately before running Betterer. |
coverageTotal(coverageSummaryPath) | Use this test to track your total test coverage. Reads a json-summary format coverage summary. Make sure to run your tests separately before running Betterer. |
Type Aliases
Type Alias | Description |
---|---|
BettererCoverageDiff | The difference in coverage for a project between two test runs |
BettererCoverageIssue | The lines, statements, functions and branches coverage for a file (or the total project) |
BettererCoverageIssues | The coverage for a project |
BettererCoverageTypes | The different types of coverage which are checked |