Skip to Content
Modern C++ Programming with Test-Driven Development
book

Modern C++ Programming with Test-Driven Development

by Jeff Langr
October 2013
Intermediate to advanced
368 pages
9h 20m
English
Pragmatic Bookshelf
Content preview from Modern C++ Programming with Test-Driven Development

1.2 The Examples

You can download the source files for the book from ​http://pragprog.com/titles/lotdd/source_code​ . The examples are grouped by chapter.

Much of what you will learn about TDD involves incrementally growing code. As such, the examples you’ll see within each chapter present incremental versions of the code. The versions correspond to numbered subdirectories (​1​, ​2​, ​3​, ...) within the directory for the chapter. For example, the first code snippet in Chapter 2, Test-Driven Development: A First Example is ​c2/1/SoundexTest.cpp​; it shows the first version of the file ​SoundexTest.cpp​. The second version appears as ​c2/2/SoundexTest.cpp​.

You can also find the example code at GitHub ( ​https://github.com/jlangr​ ). At GitHub, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effective Modern C++

Effective Modern C++

Scott Meyers
Modern CMake for C++

Modern CMake for C++

Rafał Świdziński
Embracing Modern C++ Safely

Embracing Modern C++ Safely

John Lakos, Vittorio Romeo, Rostislav Khlebnikov, Alisdair Meredith

Publisher Resources

ISBN: 9781941222423Errata