Copyright by Kent Beck

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

O'Reilly logo

Chapter 25. Test-Driven Development Patterns

We need to answer some basic strategic questions before we can talk about the details of how to test:

  • What do we mean by testing?

  • When do we test?

  • How do we choose what logic to test?

  • How do we choose what data to test?

Test (noun)

How do you test your software? Write an automated test.

Test is a verb meaning β€œto evaluate.” No software engineers release even the tiniest change without testing, except the very confident and the very sloppy. I'll assume that if you've gotten this far, you're neither. Although you may test your changes, testing changes is not the same as having tests. Test is also a noun, β€œa procedure leading to acceptance or rejection.” Why does test the noun, a procedure that runs automatically, ...

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