O'Reilly logo

Manage It! by Johanna Rothman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reduce Risks with Small Tests

Your project isn’t easy. You’ve got serious technical or schedule risk. The wider variety of testing you use on your project, the more you can reduce risks. If you need to choose just one type of test to begin with, make it unit tests. The best way to implement unit tests is with test-driven development (TDD), but if you can’t get your team to write their tests before they write the production code, at least get them to write the tests soon after writing the code.

The reason to choose TDD over any other kind of testing is simple: TDD is actually more about design than it is about testing.

TDD has been around since the 1970s (The Mythical Man Month: Essays on Software Engineering [Bro95]). It’s more accepted ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required