Hello, I would like my test run to cancel once a test has failed with an error, like a NullReferenceException, what would be a good way to do that for both editor and builds, most importantly builds?
I found the UnityTestExecutionContext.StopOnError which sounds perfect but it doesn’t seem to be used anywhere and I also don’t know how I would set it without embedding the package.
I could try to use PlaymodeTestsController.TryCleanup with reflection but perhaps there’s a better way?