Testing Plan Integration
npx claude-code-templates@latest --command testing/testing_plan_integration Content
Testing Plan Integration
Create integration testing plan with inline test strategy and refactoring suggestions: $ARGUMENTS
Current Testing Context
- Project type: !
[ -f Cargo.toml ] && echo "Rust project" || [ -f package.json ] && echo "Node.js project" || echo "Multi-language project" - Test framework: !
find . -name "*.test.*" -o -name "*.spec.*" | head -3existing tests - Target code: Analysis of $ARGUMENTS for testability assessment
- Integration complexity: Assessment of component interactions and dependencies
Task
Execute comprehensive integration testing plan with testability analysis:
Planning Focus: Use $ARGUMENTS to specify target code, test type requirements, Rust inline testing, or refactoring suggestions
Integration Testing Framework:
- Code Testability Analysis - Analyze target code structure, identify testing challenges, assess coupling levels, evaluate dependency injection
- Test Strategy Design - Design integration test approach, plan inline vs separate test files, identify test boundaries, optimize test isolation
- Refactoring Assessment - Identify testability improvements, suggest dependency injection, recommend interface abstractions, optimize component boundaries
- Test Case Planning - Design integration scenarios, identify critical paths, plan data flow testing, assess error handling coverage
- Mock Strategy - Plan external dependency mocking, design test doubles, identify integration boundaries, optimize test performance
- Execution Planning - Design test execution order, plan test data management, optimize test environment setup, ensure test isolation
Advanced Features: Rust-style inline testing, property-based integration tests, contract testing, service virtualization, chaos engineering integration.
Quality Assurance: Test maintainability, execution performance, coverage optimization, feedback loop efficiency.
Output: Comprehensive integration test plan with test case specifications, refactoring recommendations, implementation strategy, and quality metrics.