Search Issue Tracker

Duplicate

Votes

0

Found in

Issue ID

1075945

Regression

No

Unity test runner tests aren't timing out when they should

Unity Test Runner

-

Steps to reproduce:
1. open project
2. run playmode tests

Expected: all tests fail by timing out
Actual: tests pass without timing out

Reproduced on 2018.3.0a6

  1. Response avatar

    Resolution Note (2018.3.X):

    It is not possible to timeout or cancel tests, as they are running in the main thread in Unity. A recommended workaround is to use [UnityTest] and then yield back null at each look, allowing the framework to timeout if needed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.