14

Debugging and Testing

Testing and debugging play a crucial part in the pipeline of the software development process. While debugging fixes problems, testing assists in problem detection. But many possible flaws can be avoided if we adhere to specific guidelines throughout the implementation stage. In addition, since testing is expensive, it would be beneficial if we could use tools to automatically examine software before human testing became necessary. Furthermore, it’s crucial to consider when, how, and which software tests we should conduct.

In this chapter, we will cover the following topics:

  • Understanding the root cause of an issue
  • Debugging programs
  • Static and dynamic analysis
  • Testing, test-driven development (TDD), and behavior-driven ...

Get Expert C++ - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.