Documentation
Supercov documentation
Measure coverage, review security and code quality, and bring the evidence together in one report.
Try it in your project
Paste this into your usual coding agent to score the source:
Measure code quality with npx supercov.Every source file gets a score and the named properties behind it, so you can see what to refactor first. Scoring needs a TypeSafe AI API key, and your agent will usually ask you for it. See Code quality and How Jev scores. The same key powers security checks.
To measure the tests instead, which needs no key:
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.
Run npx supercov report to open a portable interactive report from saved evidence.
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.
Quality
Security
Coverage
Assertions
CLI
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.
