Start
Read the manual.
Testkit is a test runner and CLI for coding agents and CI. These pages cover Testkit 0.4.1.
Start
Write tests
Run
Hunt bugs
Turnstone
- TurnstoneWhat the dashboard keeps, and what it never stores.
- Connect GitHubConnect a repository, and see the access Turnstone asks for.
- Connect GiteaAdd your Gitea host, then connect a repository.
- SyncWhen Turnstone reads your issues, and what it reads.
- FactsEach fact about a bug, and where Turnstone reads it.
Four parts, and one is optional
- Your repo holds the tests and the config. Policy goes in
testkit.config.ts. - The CLI runs in your repo. Your coding agent uses it to write tests and hunt bugs, and CI uses it to run them. It works without a server.
- GitHub or Gitea gets everything a person acts on: issues, checks and statuses, and pull requests that add tests.
- Turnstone is an optional, read-only dashboard. It receives run facts from GitHub or Gitea and charts them.
The first three are free. None of them asks for an account, a licence key, or a payment. Turnstone has a free tier.
What you need
| Requirement | Version |
|---|---|
| Node | >=22.15.0 <23.0.0 or >=24.14.1 <25.0.0 |
| npm | >=11.6.0 <12.0.0 |
| Docker | Only for a service that declares database.postgres(...) |
$npm install --save-dev @gfdelarue/testkitIf Testkit is not in your repo yet, start with Get started. It has five steps and ends with a merge gate.
Hand these pages to your agent
Every page here has a Markdown copy. Add .md to the page's URL, or press Copy page at the top of the page.
| URL | Contents |
|---|---|
/llms.txt | Every page, with a one-line summary of each |
/llms-full.txt | Every page in one file |
/docs/ci.md | One page, in this case the CI guide |
The package ships its own reference too. Your agent can read these files without a network call.
| File | Contents |
|---|---|
node_modules/@gfdelarue/testkit/README.md | The CLI, the engines, and the CI gate |
node_modules/@gfdelarue/testkit/testkit-config-schema.md | Every field of testkit.config.ts |
node_modules/@gfdelarue/testkit/docs/bug-records.md | The format of the issues that Testkit files |