Configuring a project for first use
|Top Previous Next|
Isolator++ Professional installs the following folders. They include the following contents:
In this example, we will create Isolator++ Professoinal tests running inside an executable console application. This setup works with test frameworks like Google Test, Boost Test, UnitTest++ and others.
To start, create a new C++ Console Application.
Configuring the test application
Including the .h file
Open the project properties. Add the Isolator++ Professional Include\ForTests folder to the include directories.
Add the IsolatorCore.lib to the linker input list. Note, we're using the x86 library, if we want the x64 bit we'll link to the library from the x64 folder.
As the last step, make sure to copy IsolatorCore.dll,symsrv.dll and msdia140.dll to the location of the tests executable path. We'll do it by using a post-build event (note that for the 64 bit version copy the dll from the x64 folder):
Now that our test project is ready to run, we'll need to add the rest of the support for Google Test.
Youve just run your first tests. Its time to learn more on Isolator++ Professional features.
Copyright Typemock Ltd. 2009-2023. All Rights Reserved.