UnitySetUp does not fail when nested coroutines throw an exception
Package: Test-Framework
Fixed
1.4.X
1.4.5
Fixed an issue where UnitySetUp or UnityTearDown does not fail when nested coroutines throw an exception.
Reproduction steps:
1. Open the attached “Repro“ project
2. Open the Test Runner window (Window > General > Test Runner)
3. Select the “PlayMode” tab and run all tests by clicking the “Run All” button
4. Observe the Console
Expected result: Exception is thrown in the Console but the test doesn't fail and the Editor hangs
Actual result: Exception thrown in the Console fails the test and the Editor returns to its normal state