2. Techniques for Test-Driven Development

You have seen in Chapter 1, “About Software Testing and Unit Testing,” that unit tests have a place in the software development process: You can test your own code and have the computer automatically run those tests again and again to ensure that development is progressing in the right direction. Over the past couple of decades, developers working with unit testing frameworks—particularly practitioners of Extreme Programming (XP), a software engineering methodology invented by Kent Beck, the creator of the SUnit framework for SmallTalk (the first unit testing framework on any platform, and the progenitor of Junit for Java and OCUnit for Objective-C)—have refined their techniques, and created new ways ...

Get Test-Driven iOS Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.