Configuring a project for first use |
Top Previous Next |
Isolator++ Professional installs the following folders. They include the following contents:
For Information about how to setup the under test project see Requirements for projects under test
In this example, we will create Isolator++ Professionall 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.
Files required in output directory
The following DLLs and lib files must be placed in the debug folder of your project (x64 or x86):
You can find them in the /bin Isolator++ Professional installation folder.
That’s it! You’ve just run your first tests. It’s time to learn more on Isolator++ Professional features.
|
Copyright Typemock Ltd. 2009-2025. All Rights Reserved.