
Start here
A first Mocha report with nyc
Run a CommonJS example and assert both outcomes.
Read guide: A first Mocha report with nycEnter a title or topic.
Choose a collector, inspect source scope, and turn a missed branch into an assertion.
Original learning notes from Istanbul JS Notes. Independent of the Istanbul project.


Start here
Run a CommonJS example and assert both outcomes.
Read guide: A first Mocha report with nyc
Runner setup
Choose provider, scope and limits in Jest.
Read guide: Jest owns its coverage settings
Transforms
Align transform, original source and report locations.
Read guide: Map coverage to TypeScript
Reports
Compare HTML, LCOV, JSON and text.
Read guide: Choose your report output
CI policy
Compare aggregate limits and per-file checks.
Read guide: Set a visible coverage policy
Collection
Check collection before merging compatible counters.
Read guide: Follow processes and separate runsStatements identify executed statements. Branches identify taken alternatives. Functions identify called functions. Lines identify executed source lines. None replaces an assertion about the correct result.
Use the integration guide to choose collection and source scope to understand what enters the report.
The live official documentation remains the source of truth. These guides are original writing, not a recovered copy of that site. Read about this reference for the distinction.