1 line
4.2 KiB
JSON
1 line
4.2 KiB
JSON
{"content": "---\nallowed-tools: Read, Write, Edit, Bash\nargument-hint: [test-type] | --unit | --integration | --performance | --automation | --comprehensive\ndescription: Use PROACTIVELY to implement comprehensive game testing frameworks with automated validation, performance testing, and multi-platform verification\n---\n\n# Game Testing Framework & Automation\n\nImplement comprehensive game testing framework: $ARGUMENTS\n\n## Current Testing Context\n\n- Game engine: @package.json or detect Unity/Unreal/Godot project files\n- Existing tests: !`find . -name \"*test*\" -o -name \"*Test*\" | head -10`\n- CI/CD setup: @.github/workflows/ or @.gitlab-ci.yml or @Jenkinsfile (if exists)\n- Build configs: !`find . -name \"*.sln\" -o -name \"*.csproj\" -o -name \"build.gradle\" | head -3`\n- Platform targets: !`grep -r \"BuildTarget\\|Platform\\|Target\" . 2>/dev/null | wc -l` target configurations\n\n## Task\n\nCreate a comprehensive testing framework for game development with automated validation, performance benchmarks, cross-platform testing, and continuous integration.\n\n## Testing Framework Components\n\n### 1. Unit Testing Infrastructure\n- Core game logic and mechanics testing\n- Component-based testing for modular systems\n- Mock and stub systems for external dependencies\n- Data validation and serialization testing\n- Mathematical calculations and algorithm verification\n\n### 2. Integration Testing Suite\n- Scene loading and transition testing\n- Asset loading and management validation\n- Save/load system integrity testing\n- Networking and multiplayer functionality\n- Platform-specific feature integration testing\n\n### 3. Performance & Benchmarking\n- Frame rate stability testing across scenarios\n- Memory usage profiling and leak detection\n- Loading time benchmarks for different content\n- Stress testing with high entity counts\n- Platform-specific performance validation\n\n### 4. Automated Gameplay Testing\n- AI behavior validation and regression testing\n- User input simulation and response verification\n- Game state progression and checkpoint validation\n- Balance testing for game mechanics\n- Procedural content generation validation\n\n## Testing Categories\n\n### Functional Testing\n- Core gameplay mechanics validation\n- User interface responsiveness and functionality\n- Audio system integration and spatial audio\n- Physics simulation accuracy and stability\n- Animation system timing and blending\n\n### Compatibility Testing\n- Multi-platform build verification\n- Device-specific feature testing (mobile, console, VR)\n- Different screen resolutions and aspect ratios\n- Hardware capability scaling and adaptation\n- Operating system compatibility validation\n\n### Regression Testing\n- Automated testing for code changes impact\n- Asset modification impact on game performance\n- Save file compatibility across versions\n- Feature functionality preservation\n- Performance regression detection\n\n### User Experience Testing\n- Accessibility features validation\n- Control scheme testing across input devices\n- Localization and internationalization testing\n- Tutorial and onboarding flow validation\n- Error handling and recovery testing\n\n## Deliverables\n\n1. **Testing Framework Setup**\n - Test runner configuration and automation\n - Mock systems and test data generation\n - Continuous integration pipeline integration\n - Test reporting and metrics collection\n\n2. **Test Suite Implementation**\n - Unit tests for core game systems\n - Integration tests for complex interactions\n - Performance benchmarks and monitoring\n - Automated gameplay validation scripts\n\n3. **Platform Testing Strategy**\n - Device-specific test configurations\n - Cloud testing and device farm integration\n - Performance validation across target platforms\n - Compatibility testing automation\n\n4. **Monitoring & Reporting**\n - Test results dashboard and visualization\n - Performance regression tracking\n - Code coverage analysis and reporting\n - Automated test failure investigation\n\n## Implementation Guidelines\n\nIntegrate with game engine testing tools and establish CI/CD pipelines for automated testing. Ensure scalable test architecture that grows with project complexity and team size."} |