XCode 5 Testing symbol “rT” means what?

前端 未结 4 424
日久生厌
日久生厌 2020-12-13 09:27

I have 2 test classes in a XCode 5 project:

ABCDataModelTests.{h,m}

- (void)testAlwaysPassing { ... }

ABCDataModelListColorsTests.m

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 09:57

    Interesting. I have been very annoyed by the same problem with a test class I created by duplicating another file in the IDE. I have duplicated other test files before so that doesn't seem to be the problem.

    The test class has only a single test inside it and another side-effect of the purple icon and classification of it as a runtime test is that you can't trigger the test with the little triangle icon offered in the test runner for the other tests or test classes.

    The contextual menu in the test explorer offers Test "testBlah" which seems to exercise the test.

    Quitting XCode, deleting the xcuserdata folder and rebuilding made the test recognised again as a normal test.

    I am getting reminders of older Visual Studio versions which used to have caching problems and needed regular deletion of their local context data!

提交回复
热议问题