server-testing
CommunityRobust server testing with Vitest guidance.
System Documentation
What problem does it solve?
Write and run tests for the server using Vitest. Prefer integration tests for features and use unit tests only for utilities and helpers. Use when creating tests for routers, services, models, implementing test utilities, debugging test failures, or running tests. Includes guidance on the "accessed before declaration" error which indicates errors in the CODE being tested, not the test itself.
Core Features & Use Cases
- Integration-focused testing guidance for servers built with Vitest, including routers, services, and models.
- Fixture-driven test utilities to create reproducible scenarios and validate end-to-end behavior.
- Best-practice workflows for debugging failures and diagnosing "accessed before declaration" errors.
Quick Start
Start by running the test suite locally and inspecting integration fixtures to understand end-to-end testing patterns.
Dependency Matrix
Required Modules
None requiredComponents
💻 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: server-testing Download link: https://github.com/CatOfJupit3r/ultimate-starter/archive/main.zip#server-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.