12. Applying Test-Driven Development to an Existing Project
You’ve seen a full-featured app developed from inception to completion in a test-driven fashion. Many of you won’t be coming into this from scratch, though; you’ll have existing apps with code that has grown organically from the first beta version you gave to testers, through major releases and bug fix revisions to the state it’s currently in. Does TDD offer you anything? This chapter provides answers to that question.
The Most Important Test You’ll Write Is the First
Your app code probably works, for the most part: You wouldn’t have released it to your customers if it hadn’t at least passed some basic usage tests. But does any particular method in it satisfy all its requirements, or ...
Get Test-Driven iOS Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.