game-testing-framework — команда для Claude Code: тестирование игр
Команда помогает спроектировать и внедрить тестирование игрового проекта: от проверок логики и загрузки сцен до бенчмарков и CI. Пригодится, когда нужно собрать тесты в единую систему.
npx claude-code-templates@latest --command game-development/game-testing-frameworkЧто делает game-testing-framework
Команда изучает структуру проекта: проверяет package.json, ищет файлы тестов, конфигурации сборки и CI, а также настройки целевых платформ. Затем она предлагает инфраструктуру для модульных и интеграционных тестов, автоматической проверки игрового процесса и регрессионных сценариев.
В план могут войти тесты загрузки сцен и сохранений, проверка ввода, поведения ИИ, производительности, совместимости платформ и экранов, а также интеграция с CI/CD и отчётами. Команда охватывает разные движки и платформенные цели, поэтому конкретные проверки зависят от файлов и настроек проекта.
Для проверки производительности она рассматривает частоту кадров, память, время загрузки и нагрузку на игру. В число результатов могут войти тестовый запуск, тестовые данные, бенчмарки и сбор метрик; облачные тесты и фермы устройств тоже входят в предлагаемую стратегию.
Какие задачи решает
- проверить игровую логику модульными тестами
- найти сбои при загрузке сцен и сохранений
- сравнить производительность на целевых платформах
- автоматизировать проверки игровых сценариев
- подключить тесты к CI/CD и собирать отчёты
Примеры запросов агенту
- Подготовь тестовую инфраструктуру для этого игрового проекта.
- Добавь проверки производительности и регрессии для целевых платформ.
- Настрой автоматизацию тестирования загрузки сцен и сохранений.
Как установить game-testing-framework
1Через claude-code-templates
npx claude-code-templates@latest --command game-development/game-testing-framework2Вручную: положить файлы
.claude/commands/game-testing-framework.mdВызов — /game-testing-framework. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/game-testing-framework.mdВызов — /prompts:game-testing-framework. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/game-testing-framework.prompt.mdВручную: положить файлы
.gemini/commands/game-testing-framework.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы о game-testing-framework
Как установить game-testing-framework в Claude Code?
Выполните npx claude-code-templates@latest --command game-development/game-testing-framework. Команда устанавливается в .claude/commands/game-testing-framework.md.
Что делает game-testing-framework?
Команда помогает создать систему тестирования игры: модульные и интеграционные проверки, автоматические игровые сценарии и бенчмарки. Она также рассматривает платформенную совместимость и интеграцию с CI/CD.
Какие движки поддерживает game-testing-framework?
Команда ищет признаки Unity, Unreal и Godot, а также проверяет package.json. Она ориентируется на структуру и настройки конкретного проекта.
Исходный текст
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