title: Test session exited(0) without completing
body: <p>I have a problem with <code>UnitTesting</code> and <code>UITesting</code> my app.</p>
  
  <blockquote>
    <p>Test session exited(0) without completing</p>
  </blockquote>
  
  <p>Problem is when all UITests pass they are failed without completing, UnitTests run fine or sometimes program stops on AppDelegate.</p>
  
  <p><a href="https://i.stack.imgur.com/yZgcU.png" rel="nofollow"><img src="https://i.stack.imgur.com/yZgcU.png" alt="enter image description here"></a></p>
  
  <p><strong>Do you know why it happens? Maybe is the way to run UnitTests before UI?</strong></p>