Pure Test
github.com
- Free plan
- Windows
- macOS
- Linux
- Web
- Self-hosted
What Pure Test is
Pure Test is a JavaScript test runner for projects using Node.js, Deno, Bun, Cloudflare Workers, or browsers. It has no dependencies, and its API includes test suites, assertions, lifecycle hooks, spies, fake timers, and retry and timeout options. The CLI offers multiple reporters, filters, file watching, sharding, and fail-fast execution; `--shard` can split test files across CI jobs and handles empty shards. TypeScript discovery requires `--ts` on Node.js, while Deno and Bun enable it automatically. A Deno adapter registers tests as `Deno.test()` calls for use with `deno test`. The README includes migration guides for Jest and Vitest and notes compatibility with common mock methods. Tests are not isolated, so managing shared state with lifecycle hooks is important. The project is in beta, and its APIs may change. Pure Test is Apache-2.0 licensed and free, with no paid plans stated.
Who it suits
Pure Test suits JavaScript developers who want one runner across several runtimes and need CLI options such as filtering or CI sharding. Its lack of test isolation and beta status are worth considering for teams with shared test state or stability requirements.
Good to know, and what to watch
- Works with Node.js, Deno, Bun, Cloudflare Workers, and browsers.
- Includes spies, fake timers, lifecycle hooks, retries, and timeouts.
- CLI supports filters, file watching, sharding, and fail-fast execution.
- Deno adapter integrates with `deno test`.
- Free and Apache-2.0 licensed.
- Does not isolate tests.
- No module mocking, snapshot testing, or built-in coverage.
- TypeScript discovery on Node.js requires `--ts`.
- Beta APIs may change.
Plans
Every plan and priceApache-2.0 open-source software
Free plan
Getting started
- Install the package with npm install @igorjs/pure-test --save-dev
- Choose a supported runtime such as Node.js, Deno, Bun, Cloudflare Workers or a browser
- Enable TypeScript discovery with --ts when using Node.js
- Use the Deno adapter when running tests through deno test
- Configure CLI reporters, filters, watching, sharding or fail-fast options as needed
Limits to check
The free runner omits module mocking, snapshot testing, built-in coverage, worker isolation and configuration files. Tests are not isolated, and the beta status means APIs may change.
The verdict
Pure Test covers core testing workflows across multiple JavaScript runtimes and offers useful CLI tools for CI. Teams should weigh its beta status and lack of isolation, module mocking, snapshots, and built-in coverage against their needs.
Questions people ask
What does Pure Test cost?
The Apache-2.0 open-source plan is listed as free.
Which runtimes and platforms are supported?
It supports Node.js, Deno, Bun, Cloudflare Workers and browsers, with Linux, macOS, Windows, web and self-hosted platforms listed.
Does it support TypeScript tests?
Use --ts for TypeScript discovery on Node.js; discovery is automatic on Deno and Bun.
Can it replace Jest or Vitest?
Migration guides are provided, and common mock methods such as mockReturnValue and mock.calls are compatible.
Does Pure Test provide coverage or snapshots?
Built-in coverage and snapshot testing are excluded features.
Is the project open source?
Yes. The repository identifies it as Apache-2.0 licensed.
What the maker publishes
- CI use
- The CLI supports `--shard` to split test files across jobs and exits cleanly for empty shards. source
- CLI
- The CLI supports multiple reporters, test filters, file watching, sharding, and fail-fast execution. source
- Deno integration
- A Deno adapter registers tests as `Deno.test()` calls for use with `deno test` and its filtering and IDE workflows. source
- Excluded features
- The README says the runner will not support module mocking, snapshot testing, built-in coverage, worker isolation, or configuration files. source
- Free plan
- Yes source
- Installation
- The README gives `npm install @igorjs/pure-test --save-dev` as the installation command. source
- Isolation limitation
- The runner does not isolate tests; the README recommends using lifecycle hooks to manage test state. source
- Jest and Vitest migration
- The README provides migration guides and says mock APIs are compatible for common methods such as `mockReturnValue` and `mock.calls`. source
- License
- The repository identifies the project as Apache-2.0 licensed. source
- Maker and company details
- The opened repository page identifies the owner as `igorjs` but does not state a maker name, headquarters, or founding date. source
- Project status
- The README identifies the project as beta and says its APIs may change. source
- Purpose
- Pure Test is a minimal, zero-dependency, cross-runtime test runner. source
- Runtime support
- The project says it works on Node.js, Deno, Bun, Cloudflare Workers, and browsers. source
- Testing features
- Its API includes test suites, assertions, lifecycle hooks, spies, fake timers, and retry and timeout options. source
- TypeScript
- TypeScript test discovery is opt-in with `--ts` on Node.js and automatic on Deno and Bun. source
Checked against the maker's pages on 7 Oct 2026.