Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Test-Driven Development with C++

You're reading from   Test-Driven Development with C++ A simple guide to writing bug-free Agile code

Arrow left icon
Product type Paperback
Published in Nov 2022
Publisher Packt
ISBN-13 9781803242002
Length 430 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Abdul Wahid Tanner Abdul Wahid Tanner
Author Profile Icon Abdul Wahid Tanner
Abdul Wahid Tanner
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Testing MVP
2. Chapter 1: Desired Test Declaration FREE CHAPTER 3. Chapter 2: Test Results 4. Chapter 3: The TDD Process 5. Chapter 4: Adding Tests to a Project 6. Chapter 5: Adding More Confirm Types 7. Chapter 6: Explore Improvements Early 8. Chapter 7: Test Setup and Teardown 9. Chapter 8: What Makes a Good Test? 10. Part 2: Using TDD to Create a Logging Library
11. Chapter 9: Using Tests 12. Chapter 10: The TDD Process in Depth 13. Chapter 11: Managing Dependencies 14. Part 3: Extending the TDD Library to Support the Growing Needs of the Logging Library
15. Chapter 12: Creating Better Test Confirmations 16. Chapter 13: How to Test Floating-Point and Custom Values 17. Chapter 14: How to Test Services 18. Chapter 15: How to Test With Multiple Threads 19. Index 20. Other Books You May Enjoy

Who this book is for

This book is for C++ developers already familiar with and using C++ for daily tasks. You don’t need to be an expert, but you should already know some modern C++ and how to use templates to get the most out of this book.

If you’ve ever struggled to add a new feature to a large project without breaking the software in other places, then this book can help. You’ll become a better software developer and avoid the stress and worry of fixing bugs or making design changes. TDD is a process that will guide you to create intuitive designs that your users will understand and enjoy.

If you’ve ever hesitated over making an improvement and decided to keep an outdated and confusing design that nobody wants to touch because it might break, then this book can help. Maybe you have a good idea but you know your manager will never agree because the risk is too high. If your project is following TDD practices that this book explains, then you can feel more confident about making improvements. You can let the tests prove your idea is solid.

Do you have new team members who need to quickly understand how your software works? The process that this book explores will help you write tests in TDD that will document the software design and requirements. You might even find that the tests help your own understanding especially when returning to a project that you haven’t worked on in a long time.

C++ is a language with a lot of power and details to consider. This book helps to simplify the software development process through TDD. Even if you already know how to use one or more TDD tools, this book will improve your skills and give you the confidence to apply TDD in more advanced or larger projects.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime