Xcode 5: Unit Tests not running

前端 未结 5 2676
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 05:15

I created a few test cases and they all passed... That\'s because they are not being run.

From Xcode, I get:

Test Suite \'All tests\' started at...
Test Suite          


        
5条回答
  •  -上瘾入骨i
    2021-02-20 05:51

    If you are creating a new test target in Xcode 5+ and planning to use SenTestKit for unit tests, changing the 'Wrapper Extension' build setting of your test target to 'octest' from the default 'xctest' will help execute the test cases.

提交回复
热议问题