testing

📁 salavender/antigravity-compound-engineering-plugin 📅 1 day ago
1
总安装量
1
周安装量
#47106
全站排名
安装命令
npx skills add https://github.com/salavender/antigravity-compound-engineering-plugin --skill testing

Agent 安装分布

opencode 1
cursor 1
codex 1
claude-code 1
antigravity 1

Skill 文档

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 Components → workflows/run-frontend-tests.md
  2. Test Backend/API → workflows/run-backend-tests.md
  3. Write a New Test → templates/component-test.template.tsx
  4. Fix Test Failures → references/vitest-patterns.md

Quick Commands

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

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