En cours de chargement...
Test-driven development (TDD) can dramatically reduce system defects, produce more maintainable code, and give you the confidence to change your software to meet changing needs. But C++ programmers have been ignored by those promoting TDD - until now. In this book, you'll get hands-on lessons on how to use TDD to improve legacy C++ systems, how to identify and deal with troublesome system dependencies, how to do dependency injection, and how to use testing tools for C++ that aid TDD.
You'll also learn about new C++11 features that facilitate TDD. You'll discover how to keep a massive C++ system from becoming a design mess over time, as well as particular C++ trouble spots to avoid. You'll find out how to prevent your tests from being a maintenance burden. Finally, you'll learn how to think in TDD without giving up your hard-won C++ skills.