The Dangling Pointer
  • Home
  • About
Sign in Subscribe

unit test

A collection of 2 posts
asynchronous

Asynchronous unit testing Core Data with Xcode 6

The WordPress for iOS project had a number of unit tests using Core Data and a custom asynchronous test helper.  The helper used a semaphore in a global scope and a bit of method swizzling to give a wait/notify mechanism.  The problem with this solution was the global semaphore
06 Aug 2014 3 min read
tips

If you run Unit Tests in Xcode

If you run unit tests inside of Xcode, you may wish to turn on the behavior to show the test results after they run. 1. Go to Preferences in Xcode. 2. Click on the Behaviors tab. 3. Click on Succeeds. 4. Check the box shown and select "Show"
24 Apr 2014
Page 1 of 1
The Dangling Pointer © 2025
  • Sign up
Powered by Ghost