Japa
japa.dev
- Free plan
- Web
- Browser extension
What Japa is
Japa is a free testing framework for Node.js backend applications and libraries, covering JSON APIs and browser tests. It requires Node.js 18 or later and works only with the ES module system. There is no separate CLI; tests run from a configured entry point with Node.js or Bun. Tests can be arranged in suites and groups, with lifecycle hooks, filtering, pinned tests, and bail mode. Asynchronous and dataset-driven tests are supported. Assertion choices include Chai-based assert, Jest-style expect, and TypeScript type assertions. Japa documents snapshot testing and coverage collection through c8 or nyc. Its API client handles endpoints returning JSON, XML, HTML, or plain text, while an OpenAPI plugin checks responses against a schema. Browser testing uses a Playwright-based client with browser and context management, built-in assertions, and tracing options. An official VS Code extension runs tests from the editor. Setup happens inside an existing Node.js project, where users choose assertion libraries and optional plugins. An AdonisJS preset is also available.
Who it suits
Japa suits developers testing Node.js backend applications, libraries, APIs, and browser behavior. It is intended for projects using ES modules and Node.js or Bun.
Good to know, and what to watch
- Free plan available
- Supports API and browser testing
- Dataset-driven and asynchronous tests
- OpenAPI response checking
- Official VS Code extension
- Requires Node.js 18 or later
- ES module system only
- No separate CLI
- No parallel execution
The verdict
Japa brings backend, API, and browser testing into one Node.js-focused framework. Its ES module requirement and configured-entry-point workflow should be considered during setup.
What the maker publishes
- API testing
- The API client plugin can test HTTP endpoints returning JSON, XML, HTML, or plain text, and the OpenAPI plugin checks responses against OpenAPI specifications. source
- API testing
- Its API client plugin sends HTTP requests and supports JSON, XML, HTML, plain text, file uploads, cookies, headers, query strings, and redirects. source
- Assertions
- Official assertion plugins include Chai-based assert, Jest-style expect, and TypeScript type assertions. source
- Async and datasets
- Japa supports asynchronous tests and dataset-driven tests that run a test against varying inputs. source
- Browser testing
- The browser client is built on Playwright and supports browser and context management, built-in assertions, and tracing options. source
- Browser testing
- The browser client is built on Playwright and provides browser and context management, built-in assertions, tracing, and headless-mode controls. source
- Coverage
- Japa documents code coverage collection using the external tools c8 or nyc. source
- Coverage and snapshots
- The documentation lists coverage reporting with nyc and c8, and snapshot testing support. source
- Editor extension
- Japa offers a VS Code extension for viewing and running tests from the editor. source
- Editor integration
- Japa offers an official VSCode extension to run tests from the editor. source
- Integrations
- Japa has an official AdonisJS preset, and new AdonisJS applications come preconfigured to use it. source
- Intended users
- Japa focuses on testing Node.js backend applications and libraries. source
- Notable limit
- Japa's current installation guide says it works only with the ES module system. source
- No transpiler
- Japa says it runs without transpilers, which avoids extra configuration and lets tests boot without transpilation overhead. source
- OpenAPI
- The API client supports testing endpoints against an OpenAPI schema and checking response structure. source
- Project fit
- Japa says it focuses on testing Node.js backend applications and libraries, rather than frontend projects. source
- Purpose
- Japa is a testing framework for Node.js backend applications and libraries, including JSON API and browser tests. source
- Run tests
- Japa has no separate CLI; its documentation shows running tests through a configured entry point with Node.js or Bun. source
- Runtime requirement
- Japa requires Node.js 18 or later and works only with the ES module system. source
- Runtime requirement
- Japa requires Node.js 18 or later and works only with the ES module system. source
- Setup constraint
- The installation guide says users configure Japa in an existing Node.js project and select assertion libraries and optional plugins. source
- Test features
- The framework supports asynchronous tests, snapshots, datasets, suites and groups, filtering, pinned tests, and bail mode. source
- Test organization
- Tests can be organized into suites and groups, with lifecycle hooks and filtering. source
- What it does
- Japa is a testing framework for Node.js backend applications and libraries, including JSON API and browser testing. source
Checked against the maker's pages on 4 Oct 2026.