Note that there are some explanatory texts on larger screens.

plurals
  1. POXcode 5: Unit Tests not running
    primarykey
    data
    text
    <p>I created a few test cases and they all passed... That's because they are not being run.</p> <p>From Xcode, I get:</p> <pre>Test Suite 'All tests' started at... Test Suite 'All tests' finished at... Executed 0 tests, with 0 failures (0 unexpected) in 0.00 seconds </pre> <p>The project (and unit test classes) build successfully. </p> <p>All my test classes have MyApp_appTests as Target Membership selected. Production classes have MyApp_app &amp; MyApp_appTests targets selected.</p> <p>I verified the MyApp_appTests Target Build Settings (Bundle Loader &amp; Test Host).</p> <pre><code>Bundle Loader (Debug): $(BUILT_PRODUCTS_DIR)/MyApp.app/MyApp Test Host (Debug): $(BUNDLE_LOADER) </code></pre> <p>I have imported SenTestingKit.framework (through Targets Build Phases "Link Binary With Libraries").</p> <p>All my tests start with <code>-(void)testThat...</code></p> <p>I have also checked a few stackoverflow.com questions:</p> <p><a href="https://stackoverflow.com/questions/8632254/xcode-4-2-cant-run-unit-test">stackoverflow.com/questions/8632254/xcode-4-2-cant-run-unit-test</a> <a href="https://stackoverflow.com/questions/3608484/ocunit-tests-not-running-not-being-found">stackoverflow.com/questions/3608484/ocunit-tests-not-running-not-being-found</a> <a href="https://stackoverflow.com/questions/16672616/ocunit-test-cases-not-running">stackoverflow.com/questions/16672616/ocunit-test-cases-not-running</a></p> <p>and this post:</p> <p><a href="http://twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/" rel="nofollow noreferrer">twobitlabs.com/2011/06/adding-ocunit-to-an-existing-ios-project-with-xcode-4/</a></p> <p>I don't know where to look for... Any help is greatly appreciated!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload