Class DevTestRunner
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
In-game developer test runner. Discovers all DevTest subclasses and runs their public IEnumerator methods as test cases in the live game. No NUnit, no scene reload.
Run all tests: Ctrl+Shift+T or DevTestRunner.Instance.RunAllTests()
Run filtered:DevTestRunner.Instance.RunAllTests("PourWater") (substring match on ClassName.MethodName)
[DefaultExecutionOrder(-200)]
public class DevTestRunner : Singleton<DevTestRunner>
- Inheritance
-
objectDevTestRunner
- Inherited Members
Properties
- LastLogFilePath
Path to the most recent test run log file.
Methods
- RunAllTests(string)
Run tests. If
filteris provided, only tests whose "ClassName.MethodName" contains the filter (case-insensitive) will run. Returns the path to the log file.