© Stephan Roth 2021
S. RothClean C++20https://doi.org/10.1007/978-1-4842-5949-8_8

8. Test-Driven Development

Stephan Roth1  
(1)
Bad Schwartau, Schleswig-Holstein, Germany
 

“Project Mercury ran with very short (half-day) iterations that were time boxed. The development team conducted a technical review of all changes, and, interestingly, applied the Extreme Programming practice of test-first development, planning, and writing tests before each micro-increment.”

—Craig Larman and Victor R. Basili, Iterative and Incremental Development: A Brief History. IEEE, 2003

In Chapter 2, “Build a Safety-Net,” we learned that a suite of well-crafted and fast unit tests can ensure that our code works correctly. So far, so good. But what is so special about test-driven ...

Get Clean C++20: Sustainable Software Development Patterns and Best Practices 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.