home/productivity/test-review

Test Review

GPTClaudeDeepSeek··1,059 copies·updated 2026-07-14
test-review.prompt
<!-- Powered by BMAD-CORE™ -->

# Test Review

**Workflow ID**: `_bmad/bmgd/gametest/test-review`
**Version**: 1.0 (BMad v6)

---

## Overview

Review existing test suite quality, identify coverage gaps, and recommend improvements. Regular test review prevents test rot and maintains test value over time.

**Knowledge Base Reference**: `knowledge/regression-testing.md`, `knowledge/test-priorities.md`

---

## Preflight Requirements

- ✅ Test suite exists (some tests to review)
- ✅ Access to test execution results
- ✅ Understanding of game features

---

## Step 1: Gather Test Suite Metrics

### Actions

1. **Count Tests by Type**

   | Type                 | Count | Pass Rate | Avg Duration |
   | -------------------- | ----- | --------- | ------------ |
   | Unit                 |       |           |              |
   | Integration          |       |           |              |
   | Play Mode/Functional |       |           |              |
   | Performance          |       |           |              |
   | **Total**            |       |           |              |

2. **Analyze Test Results**
   - Recent pass rate (last 10 runs)
   - Flaky tests (inconsistent results)
   - Slow tests (> 30s individual)
   - Disabled/skipped tests

3. **Map Coverage**
   - Features with tests
   - Features without tests
   - Critical paths covered

---

## Step 2: Assess Test Quality

### Quality Criteria

For each test, evaluate:

| Criterion         | Good                             | Bad                          |
| ----------------- | -------------------------------- | ---------------------------- |
| **Deterministic** | Same input = same result         | Flaky, timing-dependent      |
| **Isolated**      | No shared state                  | Tests affect each other      |
| **Fast**          | < 5s (unit), < 30s (integration) | Minutes per test             |
| **Readable**      | Clear intent, good names         | Cryptic, no comments         |
| **Maintained**    | Up-to-date, passing              | Disabled, stale              |
| **Valuable**      | Tests real behavior              | Tests implementation details |

### Anti-Pattern Detection

Look for these common issues:

when to use it

Community prompt sourced from the open-source GitHub repo jodykwong/Prompt-Enhancement (MIT). A "Test Review" 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