Skip to content
@japa

Japa.dev

A simple yet powerful testing framework for Node.js

Japa comes with everything you need to test your backend applications. Be it writing JSON API tests using an Open API schema or writing browser tests using Playwright.

Unlike other testing frameworks born out of the frontend ecosystem, Japa focuses only on testing backend applications and libraries. Therefore, Japa is simpler, faster, and bloatware free.

Features

Despite being a small and a simple tests runner, Japa has a ton of features you expect from a great testing framework. It includes:

Why Japa?

There are many testing frameworks available in the JavaScript ecosystem. So let's explore what makes Japa different.

No overhead of transpiling source code

Popular testing frameworks like Jest (uses Babel) and Vitest (uses Vite) use transpilers to process your source code. No matter how quick the underlying transpilers are, they will always have additional overhead compared to tools with no transpilers.

If you are building libraries or applications to work with Node.js runtime (not the browser), there is no need to use a transpiler. As a result:

  • You will have a better debugging experience.
  • Your application and tests will boot faster.
  • No additional configuration to manage.

Works with your existing project setup

Since Japa does not have to use transpilers, it works with your existing project setup. Moreover, Japa does not even have a CLI tool. You run your tests using the node or bun command.

Pinned Loading

  1. runner runner Public

    Standalone test runner built on top of japa core

    TypeScript 471 3

  2. core core Public

    The core of Japa. It includes all the primitives to build a test runner

    TypeScript 388 16

  3. create-japa create-japa Public

    Initialize Japa in existing Node.js projects

    TypeScript 6 3

Repositories

Showing 10 of 21 repositories
  • japa.dev Public

    The documentation website for Japa

    japa/japa.dev’s past year of commit activity
    TypeScript 21 19 0 1 Updated Dec 19, 2024
  • api-client Public

    API client to test endpoints over HTTP. Uses superagent under the hood

    japa/api-client’s past year of commit activity
    TypeScript 13 MIT 4 2 0 Updated Dec 18, 2024
  • openapi-assertions Public

    Japa plugin to perform assertions against an OpenAPI spec

    japa/openapi-assertions’s past year of commit activity
    TypeScript 3 MIT 1 0 0 Updated Dec 18, 2024
  • file-system Public

    File system plugin for Japa

    japa/file-system’s past year of commit activity
    TypeScript 5 MIT 1 0 0 Updated Dec 18, 2024
  • assert Public

    Assertions package for Japa. Built on top of Chai.Assert

    japa/assert’s past year of commit activity
    TypeScript 8 MIT 4 1 0 Updated Dec 18, 2024
  • core Public

    The core of Japa. It includes all the primitives to build a test runner

    japa/core’s past year of commit activity
    TypeScript 388 MIT 16 0 0 Updated Dec 10, 2024
  • browser-client Public

    Browser client plugin built on top of Playwright

    japa/browser-client’s past year of commit activity
    TypeScript 11 MIT 2 0 0 Updated Sep 25, 2024
  • snapshot Public

    Snapshot plugin for Japa

    japa/snapshot’s past year of commit activity
    TypeScript 2 MIT 1 0 0 Updated Sep 23, 2024
  • create-japa Public

    Initialize Japa in existing Node.js projects

    japa/create-japa’s past year of commit activity
    TypeScript 6 MIT 3 1 1 Updated Sep 14, 2024
  • runner Public

    Standalone test runner built on top of japa core

    japa/runner’s past year of commit activity
    TypeScript 471 MIT 3 6 0 Updated Apr 16, 2024

Top languages

TypeScript

Most used topics

Loading…