nitro-testing

Official

Fast, isolated Nuxt/Nitro testing.

Authorgallop-systems
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables comprehensive testing of Nuxt 3 / Nitro applications by providing a framework for realistic integration tests against a real PostgreSQL database, with transactional rollback to ensure deterministic isolation.

Core Features & Use Cases

  • End-to-end testing of Nuxt server API handlers and frontend components using a real DB.
  • Transaction-based isolation that auto-rolls back between tests for fast, repeatable results.
  • Example scenarios include API handler validation, page data fetching, and component testing with mountSuspended.

Quick Start

Install and configure vitest with globalSetup to reset and migrate the test DB, then write tests using test-utils primitives and run the suite.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nitro-testing
Download link: https://github.com/gallop-systems/claude-skills/archive/main.zip#nitro-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.