Top 5 Unit Testing Problems in C++ Legacy Code and How to Solve Them

Like unit testing but sometimes it gives you problems? Well, even we admit that sometimes it can be difficult.

Gil Zilberfeld recently identified many problems when testing C++ legacy code and how to solve them.

Watch his webinar:

 

Legacy code is a real problem with C++ applications. With so many developers working on the same codebase over time — decades even — your code gets complicated and full of dependencies.

Unit testing is often the best solution to ensure that your legacy code does what it’s supposed to do. But sometimes unit testing C++ legacy code can be problematic.

In this webinar, you will learn how to:

• deal with global C functions
• deal with private calls to functions that you want to avoid
• deal with your code creating objects that you want to ignore
• test when there is no external state to check
• simulate values that are returned by reference

We will also be giving away a copy of Isolator++ for Windows and Linux to two attendees.

 

Interested in learning more tips for unit testing? Sign up for our webinar on October 10, Tips for Easy Unit Testing: Dealing with Legacy Code

TOP