Run only the tests your change can break.
TestDetta reads your diff and runs just the test classes that can observe it. When it cannot be sure, it runs more, never less.
- Free and open source, Apache-2.0
- Public and private repositories, any CI
- Runs inside your CI
93% less recorded test time
- 8 classes run they run or reference the changed code
- 266 skipped no path from the change reaches them
- 229 tests passed 0 failed
Measured on 53 open-source .NET repositories, including
Polly
Newtonsoft.Json- AutoMapper
Spectre.ConsoleMarkdig
- Serilog
Refit
Autofac- NodaTime
FastEndpoints
Scriban- FluentValidation
AutoFixture
- OpenTelemetry
Independent measurements. These projects are not affiliated with TestDetta and do not endorse it.
Measured on real code, not on demos
We change one member at a time and check that every test class that fails is one TestDetta selected.
The 0.2.0 release round of the evaluation, 2026-10-13 to 2026-10-15, judged strictly: a test run that crashes or hangs outside the selection counts as a miss unless the same run without the change shows it is not the change's.
How it decides
One real change to OpenTelemetry .NET, followed step by step. Each step narrows the selection only when it has evidence.
1 · The change
…ConfigurationExtensions.cs -bool differs; +bool overridden; -differs = new FilePath(…) != filePath; +overridden = new FilePath(…) != filePath;
A rename that changes no behaviour. A normal pipeline runs every test project: 274 test classes.
2 · What TestDetta works out
- Projects2 of 30 test projects affected; the other 28 are not even built
- Symbols1 member changed:
WarnIfConfigFileEnvVarDiffers - Coverage map8 test classes ran it on
main - NamesNo new code to trace
- FallbacksNone needed
3 · Tests to run
8 of 274 classes run, 266 skipped
Exactly the 8 that fail when the method breaks. How we checked
When a step cannot trace a change, the whole test project runs. What runs everything →
Built for teams that can't afford a missed test
TestDetta runs inside your CI and never stands between you and a release. If it cannot be sure, it runs more.
- 0
- lines of your code leave your CIAnalysis, coverage maps and test results stay on your machines.
- 0
- network calls of its ownTestDetta sends nothing anywhere. Your CI fetches the tool and restores the maps like any other package or cache.
- 5·2
- test frameworks and runnersxUnit v2 and v3, NUnit, MSTest and TUnit, on VSTest and Microsoft.Testing.Platform.
- 0
- license keys, accounts or sign-upsApache-2.0 for every repository, public or private. Install it and it runs.
| Frameworks | xUnit v2 · xUnit v3 · NUnit · MSTest · TUnit |
|---|---|
| Runners | VSTest · Microsoft.Testing.Platform |
| CI | GitHub Actions · GitLab CI · Azure DevOps · Jenkins · Bitbucket |
| Platforms | Windows · Linux · macOS |
Two steps in GitHub Actions
Your default branch records once. Every pull request then runs only what it affects.
-
on push to main
Record a coverage map
Every test runs once, with coverage. The map is saved in your Actions cache under its commit.
-
Actions cache
testdetta-coverage-<sha> -
on pull request
Run what the change affects
The newest map within 50 commits before the merge base is restored, only the affected test classes run, and the job summary says why each one did.
Passed 8 of 274 classes · 93% less recorded test time
on: push: branches: [main] pull_request: permissions: contents: read actions: read jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 with: fetch-depth: 0 - if: github.event_name == 'push' uses: TestDetta/action@8750db18099a2af0436788d20dc591e94b550c07 # v0.5.2 with: mode: record - if: github.event_name == 'pull_request' uses: TestDetta/action@8750db18099a2af0436788d20dc591e94b550c07 # v0.5.2 with: mode: test
GitHub Actions guide →GitLab CI, Jenkins, Azure DevOps, Bitbucket →
For AI coding agents too
Claude Code, Codex and other agents run only the tests their changes can affect, and check them before they hand back. In Claude Code: /plugin install testdetta --marketplace selcukgural/TestDetta
Support the project
TestDetta is free for everyone. If it saves your team time, you can support its development through GitHub Sponsors, monthly or once. Sponsoring unlocks nothing: every feature is already in the version you install.
Free and open source, for every repository.
Apache-2.0. Public or private, on any CI and on your own machine.