Unity Issue Tracker - ITestAdaptor.Test.TestMode is not properly set on the root level
Fixed
DSTR-673
ITestAdaptor.Test.TestMode is not properly set on the root level
Package: Test-Framework
Fixed
1.3.X
Won't Fix
2.0.X
We are not doing fixes to 2.0
How to reproduce:
1. Open the attached "TestFrameworkTestMode" project
2. Open the Unity test runner window in the PlayMode tests tab
3. Run all PlayMode tests
4. Observe the console output
Expected result: result.Test.TestMode returns PlayMode
Actual result: result.Test.TestMode returns 0 (Which is EditMode in the enum)
Reproducible with 2.0.1-exp.2, 1.3.0 (2021.3.11)
Reproducible on: OSX