japa

Automate AdonisJS unit, browser, and API tests with Japa.

7|Updated May 6, 2026
One-click install
npx skills add https://github.com/lncitador/adonisjs-maestro --skill japa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: japa
Source: https://github.com/lncitador/adonisjs-maestro/tree/main/skills/japa
Command: npx skills add https://github.com/lncitador/adonisjs-maestro --skill japa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing, debugging, and configuring tests for AdonisJS apps becomes coordinated and predictable by centralizing testing logic and tooling using Japa, enabling consistent patterns across unit, browser, and API tests.

Core Features & Use Cases

Japa provides a structured testing workflow for AdonisJS projects, including suites organization, bootstrap configuration, API and browser test patterns, and support for test doubles, fixtures, and end-to-end scenarios. It covers both API/client testing and browser-driven validation with Playwright, ensuring reliable feedback loops during development.

Quick Start

Create a basic test using Japa in your AdonisJS project and run it with ace test to see a passing result.

Frequently Asked Questions about japa

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate AdonisJS testing workflows across unit, API, and browser suites?

AdonisJS testing workflows are coordinated using Japa, which structures suites, bootstrap configuration, and test doubles to ensure reliable unit, API, and browser tests. You configure it via ace test and suitable environments.

Can I run browser tests with Playwright in an AdonisJS project?

Yes, browser tests run with Playwright in AdonisJS projects using Japa. It provides browser-driven validation patterns and starter kits to ensure reliable end-to-end feedback loops during development.

What's the best way to organize API and client tests for an AdonisJS application?

The best way to organize API and client tests is using Japa's structured testing workflow. It centralizes testing logic and provides API starter kits, ensuring consistent patterns across your AdonisJS application.

Does AdonisJS support test doubles and fixtures for end-to-end testing?

Yes, AdonisJS supports test doubles, fixtures, and end-to-end scenarios through Japa. This allows developers to isolate dependencies and create predictable testing environments across multiple suites.

How do I configure Japa plugins and test environments for AdonisJS ace test?

To configure Japa plugins and test environments, you use the ace test command in your AdonisJS project. Proper configuration with suitable test environments and bootstrap settings is required for passing results.

Why do my AdonisJS browser tests fail when running end-to-end scenarios with Japa?

AdonisJS browser tests fail when Japa plugins and test environments are not properly configured. You must ensure suitable test environments and bootstrap configuration are applied before running ace test.