game-testing-framework — Claude Code command for game testing
This command plans a testing setup for a game project, from gameplay checks to performance benchmarks and CI integration. Use it when tests need a shared structure.
npx claude-code-templates@latest --command game-development/game-testing-frameworkWhat game-testing-framework does
The command inspects project files, including package.json, existing tests, build configurations, CI files, and platform targets. It then proposes a setup for unit and integration tests, automated gameplay checks, and regression testing.
Its plan can cover scene and save loading, input handling, AI behavior, performance, platform compatibility, and CI/CD reporting. It looks for signs of Unity, Unreal, and Godot, so the checks depend on the project’s files and configuration.
Performance work can include frame-rate stability, memory use, load times, and stress scenarios. Suggested deliverables include test runners, test data, benchmarks, and metrics collection; the strategy can also include cloud testing and device farms.
What it helps with
- test core gameplay logic with unit tests
- catch failures in scene and save loading
- compare performance across target platforms
- automate gameplay and regression checks
- connect tests to CI/CD reporting
Example prompts for the agent
- Set up a testing framework for this game project.
- Add performance and regression checks for the target platforms.
- Automate tests for scene loading and save files.
How to install game-testing-framework
1claude-code-templates
npx claude-code-templates@latest --command game-development/game-testing-framework2Manually: put the files in place
.claude/commands/game-testing-framework.mdCall it with /game-testing-framework. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/game-testing-framework.mdCall it with /prompts:game-testing-framework. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/game-testing-framework.prompt.mdManually: put the files in place
.gemini/commands/game-testing-framework.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about game-testing-framework
How do I install game-testing-framework in Claude Code?
Run npx claude-code-templates@latest --command game-development/game-testing-framework. The command is installed at .claude/commands/game-testing-framework.md.
What does game-testing-framework do?
It helps plan game tests, including unit and integration checks, automated gameplay scenarios, and performance benchmarks. It also covers platform compatibility and CI/CD integration.
Which game engines does game-testing-framework cover?
It looks for Unity, Unreal, and Godot project files, as well as package.json. The proposed checks depend on the project structure and configuration.
Source text
game-testing-framework.md · MIT
--- allowed-tools: Read, Write, Edit, Bash argument-hint: "[test-type] | --unit | --integration | --performance | --automation | --comprehensive" description: Use PROACTIVELY to implement comprehensive game testing frameworks with automated validation, performance testing, and multi-platform verification --- # Game Testing Framework & Automation Implement comprehensive game testing framework: $ARGUMENTS ## Current Testing Context - Game engine: @package.json or detect Unity/Unreal/Godot project files - Existing tests: !`find . -name "*test*" -o -name "*Test*" | head -10` - CI/CD setup: @.github/workflows/ or @.gitlab-ci.yml or @Jenkinsfile (if exists) - Build configs: !`find . -name "*.sln" -o -name "*.csproj" -o -name "build.gradle" | head -3` - Platform targets: !`grep -r "BuildTarget\|Platform\|Target" . 2>/dev/null | wc -l` target configurations ## Task Create a comprehensive testing framework for game development with automated validation, performance benchmarks, cross-platform testing, and continuous integration. ## Testing Framework Components ### 1. Unit Testing Infrastructure - Core game logic and mechanics testing - Component-based testing for modular systems - Mock and stub systems for external dependencies - Data validation and serialization testing - Mathematical calculations and algorithm verification ### 2. Integration Testing Suite - Scene loading and transition testing - Asset loading and management validation - Save/load system integrity testing - Networking and multiplayer functionality - Platform-specific feature integration testing ### 3. Performance & Benchmarking - Frame rate stability testing across scenarios - Memory usage profiling and leak detection - Loading time benchmarks for different content - Stress testing with high entity counts - Platform-specific performance validation ### 4. Automated Gameplay Testing - AI behavior validation and regression testing - User input simulation and response verification - Game state progression and checkpoint validation - Balance testing for game mechanics - Procedural content generation validation ## Testing Categories ### Functional Testing - Core gameplay mechanics validation - User interface responsiveness and functionality - Audio system integration and spatial audio - Physics simulation accuracy and stability - Animation system timing and blending ### Compatibility Testing - Multi-platform build verification - Device-specific feature testing (mobile, console, VR) - Different screen resolutions and aspect ratios - Hardware capability scaling and adaptation - Operating system compatibility validation ### Regression Testing - Automated testing for code changes impact - Asset modification impact on game performance - Save file compatibility across versions - Feature functionality preservation - Performance regression detection ### User Experience Testing - Accessibility features validation - Control scheme testing across input devices - Localization and internationalization testing - Tutorial and onboarding flow validation - Error handling and recovery testing ## Deliverables 1. **Testing Framework Setup** - Test runner configuration and automation - Mock systems and test data generation - Continuous integration pipeline integration - Test reporting and metrics collection 2. **Test Suite Implementation** - Unit tests for core game systems - Integration tests for complex interactions - Performance benchmarks and monitoring - Automated gameplay validation scripts 3. **Platform Testing Strategy** - Device-specific test configurations - Cloud testing and device farm integration - Performance validation across target platforms - Compatibility testing automation 4. **Monitoring & Reporting** - Test results dashboard and visualization - Performance regression tracking - Code coverage analysis and reporting - Automated test failure investigation ## Implementation Guidelines Integrate 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.
© davila7 · MIT · davila7/claude-code-templates