Documentation
Supercov documentation
Use Supercov with your coding agent. Start with one test, then decide what to cover next.
Try it in your project
Paste this into your usual coding agent:
Measure code coverage with npx supercov and write one missing test.
Only change tests. Rerun the full test suite and show me the test you
added and the before-and-after coverage.Your agent can install Supercov, run your existing suite and edit the tests. You’ll get a normal test-file change and a coverage comparison in the conversation. See Getting started for what to review.
Looking for instructions to give an agent? Start with Agent instructions.
Using Supercov
Getting started
Ask your agent to add one test, then review what changed.
Installation
Install Supercov for your language and run your first measurement.
Supported languages
Use Supercov with your project's language and test suite.
Runner support
Check the detail available from each runner and its measurement limits.
Working with your agent
Choose what to test, how long to spend and when to stop.
Languages
JavaScript / TypeScript
Set up Supercov with your agent, or run it yourself with Vitest, Jest, node:test or Playwright.
Python
Set up Supercov with your agent, or run it yourself with pytest or unittest.
Ruby
Set up Supercov with your agent, or run it yourself with RSpec, Minitest or Rails tests.
Rust
Set up Supercov with your agent, or run it yourself with Cargo tests.
Go
Set up Supercov with your agent, or run it yourself with go test.
Java
Set up Supercov with your agent, or run it yourself with Maven or Gradle.
Kotlin
Set up Supercov with your agent, or run it yourself with Gradle.
Coverage
Assertions
Assertion coverage
See what the tests check, not just what they run.
Map with an agent
Build and update the links between assertions and the source they check.
Assertion evidence
Investigate missing credit, stale mappings and execution details.
Assertion map format
Look up map fields, source references and validation rules.
