Setup Comprehensive Testing
Setup complete testing infrastructure with framework configuration and CI integration
$ npx claude-code-templates@latest --command="testing/setup-comprehensive-testing" --yesRequires Claude Code. The command adds this command to your project's .claudedirectory — nothing runs on ToolZip's servers.
What's inside this command
Component source
Setup Comprehensive Testing
Setup complete testing infrastructure with multi-layer testing strategy: $ARGUMENTS
Current Testing Infrastructure
- Project type: !
[ -f package.json ] && echo "Node.js" || [ -f requirements.txt ] && echo "Python" || [ -f pom.xml ] && echo "Java" || echo "Multi-language" - Existing tests: !
find . -name ".test." -o -name ".spec." | wc -ltest files - CI system: !
find . -name ".github" -o -name ".gitlab-ci.yml" -o -name "Jenkinsfile" | head -1 || echo "No CI detected" - Framework: !
grep -l "jest\\|vitest\\|pytest\\|junit" package.json requirements.txt pom.xml 2>/dev/null | head -1 || echo "Detect framework"
Task
Implement comprehensive testing infrastructure with multi-layer testing strategy:
Setup Scope: Use $ARGUMENTS to focus on unit, integration, e2e, visual, performance testing, or full-stack implementation Comprehensive Testing Framework:- Testing Strategy Design - Analyze project requirements, define testing pyramid, plan coverage goals, optimize testing investment
- Unit Testing Setup - Configure primary framework (Jest, Vitest, pytest), setup test runners, implement test utilities, optimize execution
- Integration Testing - Setup integration test framework, configure test databases, implement API testing, optimize test isolation
- E2E Testing Configuration - Setup browser testing (Cypress, Playwright), configure test environments, implement page objects
- Visual & Performance Testing - Setup visual regression testing, configure performance benchmarks, implement accessibility testing
- CI/CD Integration - Configure automated test execution, setup parallel testing, implement quality gates, optimize pipeline performance
Related Claude Code Commands
Generate Tests
Generate a complete test file for a specified source file or component. Use when the user explicitly asks to write, create, or generate tests for a specific file.
Test Coverage
Analyze and improve test coverage with comprehensive reporting and gap identification
Generate Test Cases
Generate comprehensive test cases with automatic analysis and coverage optimization
E2e Setup
Configure comprehensive end-to-end testing suite with framework selection and CI integration
Write Tests
Write comprehensive unit and integration tests with proper mocking and coverage
Test Automation Orchestrator
Orchestrate comprehensive test automation with intelligent execution and optimization
Catalog data and component content are sourced from the open-source davila7/claude-code-templates project (MIT license). ToolZip curates the listing and writes original descriptions; every component links back to its original source. Claude Code is a product of Anthropic. ToolZip is an independent catalog and is not affiliated with or endorsed by Anthropic.