Typemock, the leading provider and pioneer of automated unit testing solutions, has announced the release of Isolator++ Version 3. The new version allows you to call private members, play out scenarios with Conditional Behavior Faking, create custom conditions with conditional verification, and more. Isolator++ is currently the only mocking framework with these capabilities.
C and C++ are tremendously popular languages, used by approximately 6.3 million developers worldwide. Combined they are used by 20% of developers – as many as by Java. C/C++ is most popular in industries like finance and banking because of its speed and performance. The need for Unit Testing C/C++ is generally considered more urgent than other languages because every failure is magnified and can cause a system crash.
While other mocking frameworks are limited to code written with testing in mind, Isolator++ is the only framework that can mock any code written in Windows C/C++, including legacy code. This capability is critical for C/C++ code, which has been in use for decades and is mostly not test-oriented, and where using virtual and pure methods of testing is not always feasible.
Isolator++ can test your legacy code, without requiring developers to make any changes that complicate their code specifically for testing, such as adding extra macros, classes, and members. Isolator++ uses patented isolation technology in order to change the behavior of methods under test. It also enables asserting method calls and parameters on dependencies when it is not possible to test for return values and/or state change. In addition, Isolator++ has the ability to handle C and C++ development paradigm, features, and common practices. For example, many functions in C/C++ don’t just return values, but also use parameters that are passed by reference to return values. Isolator++ can mock the functions and simulate returning values by reference, as if the code actually ran and returned them.
“The release of Isolator++ V3 is massive boost for C/C++ developers,” said Eli Lopian, the founder of Typemock. “Companies in highly-regulated industries, such as finance, banking, and insurance, use software that was written in C/C++ specifically due to its performance and speed. The price for this performance is its fragility and so it must be tested, more so even than other languages. We have many requests from our customers who work with C and C++ to support various features and special cases. Their input was an invaluable help in designing the features for the release of Isolator++ V3, the leading framework of its kind”.