At Typemock, we’re committed to making unit testing even the toughest C++ code easier and more accessible. Following our major strides toward a cleaner, real API in Isolator++ v5, we’re excited to announce the release of Typemock Isolator++ v5.2.0!
If you’re testing legacy C++ code, faking hidden types, or dealing with native libraries, this update is built for you.
What’s New in C/C++ Unit Testing with Isolator++ v5.2.0
✅ New API Update: Better Type Faking
- We’ve introduced
A::Type<type>
, which now supports faking argument types of classes without public constructors. - Breaking Change: The older
A::Any(type)
has been discontinued in favor of the new, more consistent API.
Why this matters: Real-world C++ often hides types behind non-public constructors for security and design reasons. Now, you can fake and test them without painful workarounds.
✅ Support for Faking DllImport Methods
- Isolator++ v5.2 now supports faking methods imported from DLLs. (learn more about DllImport).
Why this matters: Need to test code that calls into native libraries? Now you can mock those interactions safely, without executing real native code or setting up complex environments.
✅ Upgraded API Documentation
- We’ve expanded and polished our API reference documentation to make discovering and using Typemock features easier than ever.
Why this matters: Whether you’re a Typemock veteran or just starting out, clearer docs mean faster onboarding, better tests, and less friction.
Why These Changes Matter
Modern C++ codebases often involve tightly controlled types, platform-dependent libraries, and legacy systems not designed with testability in mind. With Isolator++ v5.2, we’re removing even more barriers:
- Mock hidden types without rewriting your production code.
- Test DLL-imported methods without hitting the native platform.
- Work faster and smarter with better docs and a more intuitive API.
These improvements keep you focused where it matters most—writing meaningful tests, not fighting the framework.
Related Resources to Boost Your Testing:
- How to Start Working with Isolator++ PRO for Windows
- Getting Started with C++ Unit Testing Using Isolator++ (repeat for now if no better C++ guide is live)
- Unit Testing Legacy C++ Code: Best Practices (adjust later if a new article is available)
How to Start C/C++ Unit Testing with Isolator++ v5.2.0
- Download the latest version from your Typemock account or installation page.
- Update your test projects to use
A::Type<type>
if you were previously relying onA::Any(type)
. - Review the new API documentation for quick examples and migration guidance.
- Explore faking DllImport methods for your native integrations.
Conclusion
With Typemock Isolator++ v5.2.0, C++ unit testing becomes even more powerful and flexible—whether you’re testing new greenfield apps or maintaining complex legacy systems.
Ready to take your testing to the next level?
Stay tuned—we’re not done making unit testing simpler, faster, and smarter.