
- 430 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Test-Driven Development with C++
About this book
Learn how to write software that excites your customers and avoids breaking your work when making changesKey Features• Learn how a simple shift in focus will let you use tests to meet customer needs• Develop a testing library and a logging library that you can use in your own projects• Drive better code designs with effective tests that help new team members contribute fasterBook DescriptionModern, standard C++ is all that is needed to create a small and practical testing framework that will improve the design of any project. This allows you to think about how the code will be used, which is the first step in designing intuitive interfaces. TDD is a modern balanced software development approach that helps to create maintainable applications, provide modularity in design, and write minimal code that drastically reduces defects. With the help of this book, you'll be able to continue adding value when designs need to change by ensuring that the changes don't break existing tests.In this book, you will use test-driven development (TDD) to gain practical skills by writing a simple testing framework and then using it to drive the design of a logging library. The book will help you enhance your software development skills with test cases. You'll understand how to design and implement test cases. The chapters will also show you how to utilize the TDD approach to be more productive in software development than attempting to code in large unstructured steps.By the end of this book, you'll have gained knowledge of TDD and testing and also built a working logging library with unique features not found in other libraries.What you will learn• Understand how to develop software using TDD• Keep the code for the system as error-free as possible• Refactor and redesign code confidently• Communicate the requirements and behaviors of the code with your team• Understand the differences between unit tests and integration tests• Use TDD to create a minimal viable testing frameworkWho this book is forThis book is for C++ developers already familiar with and using C++ for daily tasks who want to improve their skillset. You don't need to be an expert but you should already have some knowledge of modern C++ and how to use templates to get the most out of this book.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Test-Driven Development with C++
- Contributors
- Preface
- Part 1: Testing MVP
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Part 2: Using TDD to Create a Logging Library
- 9
- 10
- 11
- Part 3: Extending the TDD Library to Support the Growing Needs of the Logging Library
- 12
- 13
- 14
- 15
- Index
- Other Books You May Enjoy