- Home /
Question by
ilkinulas · Mar 01, 2016 at 08:21 AM ·
coroutinestestingbatchmode
Why does “yield return new WaitForEndOfFrame()” never returns in batchmode?
I am trying to write integration tests by using unity test tools package.
Tests run without problem in the editor (in play mode).
But when I try to run the integration test from the command line (in batchmode) WaitForEndOfFrame coroutine never returns.
Is this a known issue or am I missing something?
I am using the below command to run the tests:
/Applications/Unity-5.3.1-f1/Unity.app/Contents/MacOS/Unity \
-batchmode \
-nographics \
-logfile \
-projectPath $(pwd) \
-executeMethod UnityTest.Batch.RunIntegrationTests \
-testscenes=TestScene \
-resultsFileDirectory=$(pwd)
Comment