testing

Unified testing commands and patterns across frontend and backend.

$ インストール

git clone https://github.com/salavender/antigravity-compound-engineering-plugin /tmp/antigravity-compound-engineering-plugin && cp -r /tmp/antigravity-compound-engineering-plugin/skills/testing ~/.claude/skills/antigravity-compound-engineering-plugin

// tip: Run this command in your terminal to install the skill


name: testing description: Unified testing commands and patterns across frontend and backend. last_updated: 2025-12-20

Testing Skill

Overview

Guidance and templates for testing in {PROJECT_NAME}. Covers React Component testing (Vitest/RTL) and Backend testing (Python/Pytest).

When To Use

  • Writing new code: Every new feature needs tests.
  • Fixing bugs: Create a reproduction test first.
  • Refactoring: Ensure green tests before and after.

Instrumentation

# Log usage when using this skill
./scripts/log-skill.sh "testing" "manual" "$$"

What do you want to do?

  1. Test React Componentsworkflows/run-frontend-tests.md
  2. Test Backend/APIworkflows/run-backend-tests.md
  3. Write a New Testtemplates/component-test.template.tsx
  4. Fix Test Failuresreferences/vitest-patterns.md

Quick Commands

# Frontend (Unit/Integration)
npm test
npm test -- -t "ComponentName"  # Run specific test

# Backend (API)
pytest
pytest -k "test_name"