home/productivity/game-test-automation

Game Test Automation

GPTClaudeDeepSeek··939 copies·updated 2026-07-14
game-test-automation.prompt
<!-- 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