Free shipping on orders over $99
Modern C++ Programming with Test-Driven Development

Modern C++ Programming with Test-Driven Development

Code Better, Sleep Better

by Jeff Langr
Paperback
Publication Date: 02/01/2014

Share This Book:

50%
OFF
RRP  $76.00

RRP means 'Recommended Retail Price' and is the price our supplier recommends to retailers that the product be offered for sale. It does not necessarily mean the product has been offered or sold at the RRP by us or anyone else.

$38.75
or 4 easy payments of $9.69 with
afterpay
If you program in C++ youve 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, youre already writing high-quality code, and you work hard to maintain code quality. It doesnt have to be that hard. In this book, youll 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, youll discover how to keep a massive C++ system from becoming a design mess over time, as well as particular C++ trouble spots to avoid. Youll 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, youll see how to grow and sustain TDD in your team. Whether youre 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 isnt difficult to translate them to your tool of choice. * A good programmers 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.
ISBN:
9781937785482
9781937785482
Category:
Programming & scripting languages: general
Format:
Paperback
Publication Date:
02-01-2014
Language:
English
Publisher:
The Pragmatic Programmers
Country of origin:
United States
Pages:
380
Dimensions (mm):
229x191x19mm
Weight:
0.63kg

This item is In Stock in our Sydney warehouse and should be sent from our warehouse within 1-2 working days.

Once sent we will send you a Shipping Notification which includes online tracking.

Please check the estimated delivery times below for your region, for after your order is despatched from our warehouse:

ACT Metro  2 working days

NSW Metro  2 working days

NSW Rural  2 - 3 working days

NSW Remote  2 - 5 working days

NT Metro  3 - 6 working days

NT Remote  4 - 10 working days

QLD Metro  2 - 4 working days

QLD Rural  2 - 5 working days

QLD Remote  2 - 7 working days

SA Metro  2 - 5 working days

SA Rural  3 - 6 working days

SA Remote  3 - 7 working days

TAS Metro  3 - 6 working days

TAS Rural  3 - 6 working days

VIC Metro  2 - 3 working days

VIC Rural  2 - 4 working days

VIC Remote  2 - 5 working days

WA Metro  3 - 6 working days

WA Rural  4 - 8 working days

WA Remote  4 - 12 working days

 

Express Post is available if ALL items in your Shopping Cart are listed as 'In Stock'.

Reviews

Be the first to review Modern C++ Programming with Test-Driven Development.