Method ProbeMainMenu
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
ProbeMainMenu(string[])
Opens the main menu and reports the verdict, without failing anything.
public IEnumerator ProbeMainMenu(string[] result)
Parameters
resultstring[]
Returns
Remarks
Built for the runner's per-test menu probe (see DevTestRunner.ProbeMenuAfterEachTest): the menu dies
somewhere during a full run and every UI test after that point fails with "main menu never opened",
but running the classes by hand does not reproduce it - so the useful question is not "is the menu
broken" but "which test broke it", and that needs a probe that runs after every test and does not
itself become a failure. On success it leaves "ok" in result; on failure
OpenMainMenu(float, int) throws and the runner records its message instead.