XCTestCases not executed when running all tests

I'm using a testBundle to execute all my unit tests.
The problem is that for some reason, there are some XCTestCase which are not run if I want to run all tests.
These exact XCTestCases were running just fine previously by running all tests.
If I start all tests in such an XCTestCase they are run fine and execute successfully, but not when I want to run all tests in the testBundle.

This happens in one of the other projects I work on as well.

What could be the reason for that?

Test configuration:
  • All tests are enabled in the testBundle.

  • New tests are automatically included

  • Exact same XCTestCases are not run from Xcode UI and command line as well

  • The not running test cases are enabled

I experienced exactly the same. I start watching this thread.
XCTestCases not executed when running all tests
 
 
Q