スキル一覧に戻る
yonatangross

run-tests

by yonatangross

The Complete AI Development Toolkit for Claude Code — 159 skills, 34 agents, 20 commands, 144 hooks. Production-ready patterns for FastAPI, React 19, LangGraph, security, and testing.

29🍴 4📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: run-tests description: Comprehensive test execution with parallel analysis and coverage reporting. Use when running test suites or troubleshooting failures with the run-tests workflow. context: fork version: 1.0.0 author: OrchestKit tags: [testing, pytest, coverage, test-execution] user-invocable: false

Run Tests

Test execution with parallel analysis agents for failures.

Quick Start

/run-tests
/run-tests backend
/run-tests frontend
/run-tests tests/unit/test_auth.py

Test Scope

ArgumentScope
Empty/allAll tests
backendBackend only
frontendFrontend only
path/to/test.pySpecific file
test_nameSpecific test

Phase 1: Execute Tests

# Backend with coverage
cd backend
poetry run pytest tests/unit/ -v --tb=short \
  --cov=app --cov-report=term-missing

# Frontend with coverage
cd frontend
npm run test -- --coverage

Phase 2: Failure Analysis

If tests fail, launch 3 parallel analyzers:

  1. Backend Failure Analysis - Root cause, fix suggestions
  2. Frontend Failure Analysis - Component issues, mock problems
  3. Coverage Gap Analysis - Low coverage areas

Phase 3: Generate Report

# Test Results Report

## Summary
| Suite | Total | Passed | Failed | Coverage |
|-------|-------|--------|--------|----------|
| Backend | X | Y | Z | XX% |
| Frontend | X | Y | Z | XX% |

## Status: [ALL PASS | SOME FAILURES]

## Failures (if any)
| Test | Error | Fix |
|------|-------|-----|
| test_name | AssertionError | [suggestion] |

Quick Commands

# All backend tests
poetry run pytest tests/unit/ -v --tb=short

# With coverage
poetry run pytest tests/unit/ --cov=app

# Quick (no tracebacks)
poetry run pytest tests/unit/ --tb=no -q

# Specific test
poetry run pytest tests/unit/ -k "test_name" -v

# Frontend
npm run test -- --coverage

# Watch mode
npm run test -- --watch

Key Options

OptionPurpose
--maxfail=3Stop after 3 failures
-xStop on first failure
--lfRun only last failed
-vVerbose output
--tb=shortShorter tracebacks
  • unit-testing - Unit test patterns and best practices
  • integration-testing - Integration test patterns for component interactions
  • e2e-testing - End-to-end testing with Playwright
  • test-data-management - Test data fixtures and factories

Key Decisions

DecisionChoiceRationale
Parallel Analyzers3 agentsBackend, frontend, and coverage analysis in parallel
Default Traceback--tb=shortBalance between detail and readability
Stop Threshold--maxfail=3Quick feedback without overwhelming output
Coverage Toolpytest-cov / jestNative integration with test frameworks

References

スコア

総合スコア

75/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です