Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you do TDD in Xcode?

Are there any good unit testing and acceptance testing frameworks that can be applied to XCode projects? I'm accustomed to doing TDD in Ruby and Python but am new to Objective-C and XCode.

like image 329
Jim Jeffers Avatar asked Jan 29 '10 14:01

Jim Jeffers


People also ask

What is TDD and how do you implement it?

Test driven development is an iterative development process. In TDD, developers write a test before they write just enough production code to fulfill that test and the subsequent refactoring. Developers use the specifications and first write test describing how the code should behave.

Which tool is used for TDD?

csUnit and NUnit – Both are open source unit testing frameworks for . NET projects. PyUnit and DocTest: Popular Unit testing framework for Python. TestNG: Another popular Java testing framework.


1 Answers

Is the built in Cocoa Unit Test Bundle not good enough? Chris Hanson did a series of posts on Unit testing in XCode, and there's the Apple documentation as well..

like image 77
stuartd Avatar answered Sep 19 '22 13:09

stuartd