game-regression-testing
Latest: v0.1.0
Replay gameplay inputs across buggy and fixed builds and report measured results.
Game Regression Testing
Produce evidence that the same gameplay assertion fails before the fix and passes after it. Use the project's existing test harness where possible.
- Identify the game engine, affected scene, and baseline and candidate builds. Confirm the build identities from the app or the exact source checkout. Label supplied and observed identifiers separately.
- Define one observable assertion before editing. For example, after two jump presses in the same airborne interval, exactly one jump was accepted. Prefer game state exposed by a supported debug or test interface over a pixel-only assertion.
- Write the input sequence, starting state, and conditions for measurement. Use simulation steps, a seed, or an engine checkpoint if the project exposes one. Restart the scene or session between runs. If equivalent timing or state cannot be established, report that limitation.
- Run the same test against both builds. Report the specific assertion and observed values, plus the rerun command and optional captures. Keep engine startup, input, and observation errors separate from an actual measured mismatch.
A measured mismatch followed by a match verifies the regression. Two equal outcomes or a reverse change do not verify it. A crashed engine, unavailable build, or missing measurement is unverified. Treat screenshots as supporting evidence and do not infer pass or fail from a screenshot alone.
Read browser gameplay checks when testing Phaser or another browser game. For a native engine such as Godot, Unity, or Unreal, use the installed engine and the project's tests. Record the engine version and do not claim runtime coverage when only source review was possible.
Return the exact test command, build identifiers, observed before and after values, verdict, and artifacts. For a PR, copy the evidence summary and link the runnable test.
