Unit testing in C/C++ has proven value in finding as much as 90% of defects. But it is very hard. We know that. We’ve been there. Using a test runner is just not enough.
In unit testing C/C++ code we want to test a single feature, but then we hit a major problem: our code calls other classes, databases, services and 3rd party libraries.
To solve this, we’ll need to change our code. But changing it is risky. We are likely to introduce new bugs and then find ourselves rewriting our unit tests instead of writing new code.
Watch this webinar to learn how to start unit testing in C/C++ in Linux:
• How your multi-platform development team can use the same solution and API to test C++ code – existing or legacy code
• What you need in order to unit test
• How to test code that calls global, statics, and non-public functions