With Isolator++ you don’t have to change even a single character in your C/C++ code in order to unit test it
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. With Isolator++ it can be easy.
The problem with unit testing C/C++
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.
Typemock Isolator++'s solution
With Isolator++ technology, all these C/C++ unit testing issues go away. Isolator++ can simulate any dependency, by observing the running code, and diverting function calls to automatically generated mocks.
- Afraid of changing your code just in order to test it? Isolator++ can unit test any C/C++ code without modification.
- Changing other developer's code freaks you out? Isolator++ unit tests protect you as you change your C/C++ code.
- Wasting time rewriting C/C++ unit tests? Isolator++ tests are made to be shorter, clearer and resistant to production code changes.
Isolator++ works on both Windows and Linux and with any test runner, including CppUnit, GoogleTest Boost and UnitTest++.
Download a free trial of Typemock's C/C++ Unit Testing tool for Windows or Linux or click through our resources below for all the information and support you need to effectively unit test in C/C++.
Download Typemock Isolator C++ Unit Testing Tool for Windows!
Download Typemock Isolator C++ Unit Testing Tool for Linux!
C/C++ Unit Testing Resources: