small medium large xlarge

Modern C++ Programming with Test-Driven Development

March 20, 2013

Happy vernal equinox to all our readers in the northern hemisphere! It’s spring cleaning time, and what better place to start than with some C++ code. Jeff Langr gets hands-on in Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better, now available in beta from

Oh, and be sure to follow @praprog on twitter. Word is that our pesky renegade gerbil, Randy, is still at large, and he’s been known to post massive discount codes there. Keep an eye out.

Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better

Modern C++ Programming With Test-Driven Development, the only comprehensive treatment on TDD in C++, provides you with everything you need to know about TDD, and the challenges and benefits of implementing it in your C++ systems. Its many detailed code examples take you step-by-step from TDD basics to advanced concepts. As a veteran C++ programmer, you’re already writing high-quality code, and you work hard to maintain code quality. It doesn’t have to be that hard.

In this book, you’ll learn:

  • how to use TDD to improve legacy C++ systems
  • how to identify and deal with troublesome system dependencies
  • how to do dependency injection, which is particularly tricky in C++
  • how to use testing tools for C++ that aid TDD
  • new C++11 features that facilitate TDD

As you grow in TDD mastery, 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 and how to think in TDD without giving up your hard-won C++ skills. Finally, you’ll see how to grow and sustain TDD in your team.

Whether you’re a complete unit-testing novice or an experienced tester, this book will lead you to mastery of test-driven development in C++.

Now in beta from

Don’t Get Left Out

Are your friends jealous that you get these spiffy email newsletters and they don’t? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

Are you following us on Twitter and/or Facebook? Here’s where you can find us and keep up with the latest news and commentary, and occasional discounts.

Coming Soon:

  • Test iOS Apps with UI Automation
  • The World of Code
  • Rapid Android Development: Build Rich, Sensor-Based Applications with Processing in print
  • Programming Erlang (2nd ed)

Recently Released:

  • Functional Programming Patterns in Scala and Clojure [in beta]
  • Functional Programming in Java [in beta]
  • Practical Programming 2nd Ed. [in beta]
  • Agile Web Development with Rails updated to Rails 4.0 [in beta]
  • Thanks for your continued support,

    Andy & Dave

    Books • eBooks • Screencasts • PragPub Magazine