I have several unit/logic test classes in my project, and I can run most of them individually (right-click on file and select Run "MyClassTests"), but a couple pop-up a dialog highlighting the test class name in red and showing a message like the following at the bottom of the dialog (where I almost did not see it):
Error: Class 'MyClassPartialTests' is not a test
Both the test classes that can be run individually and the ones that give the error are subclasses of a class that is a subclass of SenTestCase. They are also all members of my Logic Tests target, and they all run, when I run/test that target (in AppCode and XCode).
Initially I thought that the only difference between the test classes that can be run individually and the ones that cannot is that the name of the test class is not just the name of the class being tested with "Tests" appended, they include additional text (e.g. MyClassPartialTests instead of just MyClassTests), because I split the tests for this class into multiple test classes. That is not the issue, because I have another test class named similarly, for the same class under test, that does run individually.
What is AppCode looking for when it reports that a class is not a test class?