Cover page by Graham Lee

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required