Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better

Buy

If you program in C++ you've been neglected. Test-driven development (TDD) is a modern software development practice that can dramatically reduce the number of defects in systems, 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, Jeff Langr gives you hands-on lessons in the challenges and rewards of doing TDD in C++.

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++.

What You Need

  • A C++ compiler running under Windows or Linux, preferably one that supports C++11. Examples presented in the book were built under gcc 4.7.2.
  • Google Mock 1.6 (downloadable for free; it contains Google Test as well) or an alternate C++ unit testing tool. Most examples in the book are written for Google Mock, but it isn't difficult to translate them to your tool of choice.
  • A good programmer's editor or IDE.
  • cmake, preferably. Of course, you can use your own preferred make too. CMakeLists.txt files are provided for each project. Examples provided were built using cmake version 2.8.9.
  • Various freely-available third-party libraries are used as the basis for examples in the book. These include:
  • cURL
  • JsonCpp
  • Boost (filesystem, date_time/gregorian, algorithm, assign)

Several examples use the boost headers/libraries. Only one example uses cURL and JsonCpp.

(HTML tags aren't allowed.)

Apple Training Series : Mac OS X System Administration Reference, Volume 1 (Apple Training)
Apple Training Series : Mac OS X System Administration Reference, Volume 1 (Apple Training)
This comprehensive, technical reference guide provides in-depth information on Apple technical architecture. It will teach the reader how to install and configure machines; architect and maintain networks; enable, customize, tune and troubleshoot a wide range of services; and integrate Mac OS X, Mac OS X Server, and other Apple technologies within...
Windows Azure and ASP.NET MVC Migration
Windows Azure and ASP.NET MVC Migration

Practical, real-world tools for migrating ASP.NET MVC to Windows Azure

When IIS6 and Windows Server 2003 are no longer supported, you?ll need to migrate websites currently hosted on these technologies to newer technologies. This book comes to the rescue. It's packed with all the steps you need - all intertwined with...

How to Do Everything with Photoshop 7
How to Do Everything with Photoshop 7

Harness the power of Photoshop to create beautiful looking images effortlessly. Tackle common problems and technical issues, edit and enhance existing artwork--plus experiment with new ideas and methods to create entirely new visual scenes and schemas. Familiarize yourself with the Photoshop interface and tool palette, then follow along as...


SAP ALE, IDOC, EDI, and Interfacing Technology Questions, Answers, and Explanations
SAP ALE, IDOC, EDI, and Interfacing Technology Questions, Answers, and Explanations
The Ultimate Reference & Learning Guide for SAP Consultants

Over 200 EDI Interview Questions, Answers, and Explanations!

It’ s clear that SAP EDI is the key to interfacing technology for SAP -- and finding resources can be difficult. SAP EDI Questions, Answers, and Explanations guides you through your learning process....

Handbook of Large-Scale Random Networks
Handbook of Large-Scale Random Networks

With the advent of digital computers more than half a century ago, researchers working in a wide range of scientific disciplines have obtained an extremely powerful tool to pursue deep understanding of natural processes in physical, chemical, and biological systems. Computers pose a great challenge to mathematical sciences, as the range of...

Continuous Integration in .NET
Continuous Integration in .NET

After completing my master’s degree, I moved from Poland to Germany and began working as a .NET developer for a company full of experts in … Clarion. The Clarion folks were developing the company’s flagship—very successful leasing software—and I was left to do “the rest”: a bit of...

©2019 LearnIT (support@pdfchm.net) - Privacy Policy