Game Test Automation
<!-- Powered by BMAD-CORE™ -->
# Game Test Automation
**Workflow ID**: `_bmad/bmgd/gametest/automate`
**Version**: 1.0 (BMad v6)
---
## Overview
Generate automated test code for game projects based on test design scenarios or by analyzing existing game code. Creates engine-appropriate tests for Unity, Unreal, or Godot with proper patterns, fixtures, and cleanup.
---
## Preflight Requirements
- ✅ Test framework already initialized (run `framework` workflow first)
- ✅ Test scenarios defined (from `test-design` or ad-hoc)
- ✅ Game code accessible for analysis
---
## Step 1: Analyze Codebase
### Actions
1. **Detect Game Engine**
- Check for engine-specific project files
- Load appropriate knowledge fragments
2. **Identify Testable Systems**
- Pure logic classes (calculators, managers)
- State machines (AI, gameplay)
- Data structures (inventory, save data)
3. **Locate Existing Tests**
- Find test directory structure
- Identify test patterns already in use
- Check for test helpers/fixtures
---
## Step 2: Generate Unit Tests
### Unity (C#)
**Knowledge Base Reference**: `knowledge/unity-testing.md`when to use it
Community prompt sourced from the open-source GitHub repo jodykwong/Prompt-Enhancement (MIT). A "Game Test Automation" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
jodykwong/Prompt-Enhancement · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar