BMAD-METHOD/src/modules/bmgd/gametest/knowledge
sjennings 1d8df63ac5
feat(bmgd): Add E2E testing methodology and scaffold workflow (#1322)
* feat(bmgd): Add E2E testing methodology and scaffold workflow

- Add comprehensive e2e-testing.md knowledge fragment
- Add e2e-scaffold workflow for infrastructure generation
- Update qa-index.csv with e2e-testing fragment reference
- Update game-qa.agent.yaml with ES trigger
- Update test-design and automate instructions with E2E guidance
- Update unity-testing.md with E2E section reference

* fix(bmgd): improve E2E testing infrastructure robustness

- Add WaitForValueApprox overloads for float/double comparisons
- Fix assembly definition to use precompiledReferences for test runners
- Fix CaptureOnFailure to yield before screenshot capture (main thread)
- Add error handling to test file cleanup with try/catch
- Fix ClickButton to use FindObjectsByType and check scene.isLoaded
- Add engine-specific output paths (Unity/Unreal/Godot) to workflow
- Fix knowledge_fragments paths to use correct relative paths

* feat(bmgd): add E2E testing support for Godot and Unreal

Godot:
- Add C# testing with xUnit/NSubstitute alongside GDScript GUT
- Add E2E infrastructure: GameE2ETestFixture, ScenarioBuilder,
  InputSimulator, AsyncAssert (all GDScript)
- Add example E2E tests and quick checklist

Unreal:
- Add E2E infrastructure extending AFunctionalTest
- Add GameE2ETestBase, ScenarioBuilder, InputSimulator classes
- Add AsyncTestHelpers with latent commands and macros
- Add example E2E tests for combat and turn cycle
- Add CLI commands for running E2E tests

---------

Co-authored-by: Scott Jennings <scott.jennings+CIGINT@cloudimperiumgames.com>
Co-authored-by: Brian <bmadcode@gmail.com>
2026-01-14 20:53:40 -06:00
..
balance-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
certification-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
compatibility-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
e2e-testing.md feat(bmgd): Add E2E testing methodology and scaffold workflow (#1322) 2026-01-14 20:53:40 -06:00
godot-testing.md feat(bmgd): Add E2E testing methodology and scaffold workflow (#1322) 2026-01-14 20:53:40 -06:00
input-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
localization-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
multiplayer-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
performance-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
playtesting.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
qa-automation.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
regression-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
save-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
smoke-testing.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
test-priorities.md feat(bmgd): comprehensive BMGD module upgrade (#1151) 2025-12-17 14:33:22 +08:00
unity-testing.md feat(bmgd): Add E2E testing methodology and scaffold workflow (#1322) 2026-01-14 20:53:40 -06:00
unreal-testing.md feat(bmgd): Add E2E testing methodology and scaffold workflow (#1322) 2026-01-14 20:53:40 -06:00