Loading...
Loading...
Automated test generation, review, and execution for pytest-based projects. Auto-activates on keywords test, coverage, pytest, unittest, integration test, e2e, performance, benchmark, security testing. Routes to specialized testing workflows based on user intent.
npx skill4agent add williaby/.claude testing/testing/generatetest-engineer/testing/reviewtest-engineer/testing/e2etest-engineer/testing/performancetest-engineer/testing/securitysecurity-auditor# Generate comprehensive tests
/testing/generate [module-path]
# Review test quality
/testing/review [test-directory]
# Create E2E tests
/testing/e2e [workflow-name]
# Create performance tests
/testing/performance [component]
# Create security tests
/testing/security [attack-vector]test-engineerUse test-engineer agent when:
- Designing comprehensive test strategy across multiple components
- Creating complete test suites from scratch (unit + integration + e2e)
- Optimizing test performance and coverage simultaneously
- Integrating multiple testing types (functional + performance + security)context/pytest-patterns.mdcontext/pytest-commands.md/standards/python.md/standards/python.md/standards/linting.mdtests/unit/tests/integration/tests/e2e/# Standard test run with coverage
poetry run pytest -v --cov=src --cov-report=html --cov-report=term-missing --cov-fail-under=80
# Fast dev cycle (skip slow tests)
poetry run pytest -m "not slow"
# Specific test categories
poetry run pytest tests/unit/ # Unit tests only
poetry run pytest tests/integration/ # Integration tests
poetry run pytest -m security # Security tests
poetry run pytest -m perf # Performance testsUser: "Generate comprehensive tests for the payment processor module"
→ Skill routes to /testing/generate workflow
→ Workflow creates unit, integration, and security tests
→ Ensures 80%+ coverage for payment processorUser: "Review the tests for the authentication system and suggest improvements"
→ Skill routes to /testing/review workflow
→ Workflow analyzes coverage, patterns, fixture usage
→ Provides actionable recommendationsUser: "Design a comprehensive testing strategy for the new RAG pipeline"
→ Skill invokes test-engineer agent
→ Agent creates multi-tier testing approach:
- Unit tests for embeddings, chunking, retrieval
- Integration tests for pipeline flows
- E2E tests for complete query-response cycles
- Performance tests for large document handling