Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1 line
2.3 KiB
JSON

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