You are previewing Test-Driven iOS Development.

Test-Driven iOS Development

Cover of Test-Driven iOS Development by Graham Lee Published by Addison-Wesley Professional

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.