Testing and Quality Assurance
Execute tests, generate comprehensive test reports, and maintain test coverage standards.
When to use
-
Running unit, integration, or e2e tests
-
Generating coverage reports
-
Setting up test infrastructure
-
Monitoring test results
-
Fixing failing tests
Instructions
Usage
/sc:test [target] [--type unit|integration|e2e|all] [--coverage] [--watch]
Arguments
-
target
-
Specific tests, files, or entire test suite
-
--type
-
Test type (unit, integration, e2e, all)
-
--coverage
-
Generate coverage reports
-
--watch
-
Run tests in watch mode
-
--fix
-
Automatically fix failing tests when possible
Execution
-
Discover and categorize available tests
-
Execute tests with appropriate configuration
-
Monitor test results and collect metrics
-
Generate comprehensive test reports
-
Provide recommendations for test improvements
Claude Code Integration
-
Uses Bash for test execution and monitoring
-
Leverages Glob for test discovery
-
Applies TodoWrite for test result tracking
-
Maintains structured test reporting and coverage analysis