Why does "yield return new WaitForEndOfFrame()" never returns in batchmode?
<p>I am trying to write integration tests by using unity test tools package.</p>

<p>Tests run without problem in the editor (in play mode).</p>

<p>But when I try to run the integration test from the command line (in batchmode) <strong>WaitForEndOfFrame</strong> coroutine never returns.</p>

<p>Is this a known issue or am I missing something?</p>

<p>I am using the below command to run the tests:</p>

<pre><code> /Applications/Unity-5.3.1-f1/Unity.app/Contents/MacOS/Unity \
  -batchmode \
  -nographics \
  -logfile \
  -projectPath $(pwd) \
  -executeMethod UnityTest.Batch.RunIntegrationTests \
  -testscenes=TestScene \
  -resultsFileDirectory=$(pwd)
</code></pre>