Welcome to the Typemock Isolator++ User Guide

This guide will help you use Typemock Isolator++. It is intended for C++ developers who want to unit test their code easily.

Typemock Isolator++ is a powerful tool that makes unit testing easy by isolating tested classes. Use Typemock Isolator++ to specify behavior and verify calls to any dependencies. All this, without changing your production code!

Basic example:

 

TEST_F(ChangeReturnValue, ReturnOnStringChangesReturnValue) 
{
     WHEN_CALLED(fakeConcrete->GetString()).Return("hello");
     ASSERT_EQ("hello", fakeConcrete->GetString()); 
}