Details zum E-Book

Test-Driven Development with C++. A simple guide to writing bug-free Agile code

Test-Driven Development with C++. A simple guide to writing bug-free Agile code

Abdul Wahid Tanner

E-book
Modern, 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.
  • 1. Desired Test Declaration
  • 2. Test Results
  • 3. The TDD process
  • 4. Adding Tests to a Project
  • 5. Adding More Confirm Types
  • 6. Explore Improvements Early
  • 7. Test Setup and Teardown
  • 8. What Makes a Good Test?
  • 9. Using Tests
  • 10. The TDD Process In Depth
  • 11. Managing Dependencies
  • 12. Creating Better Test Confirmations
  • 13. How to Test Floating-Point and Custom Values
  • 14. How to Test Services
  • 15. How to Test With Multiple Threads
  • Titel: Test-Driven Development with C++. A simple guide to writing bug-free Agile code
  • Autor: Abdul Wahid Tanner
  • Originaler Titel: Test-Driven Development with C++. A simple guide to writing bug-free Agile code
  • ISBN: 9781803238067, 9781803238067
  • Veröffentlichungsdatum: 2022-11-18
  • Format: E-book
  • Artikelkennung: e_3a0e
  • Verleger: Packt Publishing