Tag Archives: Unit Test

TDD in Objective-C: Scoping an iOS Project via Mocks and Protocols with Unit Tests in Kiwi

Overview The following is an overview of how I approach Test Driven Development (TDD) for iOS projects. I use Kiwi as my TDD tool of choice, but you could apply the following with other TDD tools if you like. The only prerequisite is that the TDD tool supports mocks on protocols. App Requirements For this example I’m building an application… Read more »

Test and Behaviour Driven Development on iOS with Kiwi

One thing about getting back into iOS development is that in the intervening two years or so, Xcode and the iOS SDK has changed quite a bit, and this has meant I’ve needed to try and overcome some preconceptions about how to approach certain development tasks. Automatic Reference Counting (ARC) has greatly simplified retain/release logic, and Storyboarding is a better… Read more »