Setting up Google Test
|Top Previous Next
Download and install gtest:
Isolator++ Professional also installs the Google Test Framework (x64) static library and header files.
The installed gtest files are located in /usr/share/typemock/Examples/Common/gtest_files.
Write the _tmain function to run the tests (as in ). With Google Test it looks like this:
Write tests using your test framework, in a separate cpp file.
You can write your first test with Isolator++ Professional in a separate class, deriving from the Test class:
Compile and run the console application to run the tests.
In the terminal you'll see which tests passed and which didn't.
Copyright Typemock Ltd. 2009-2023. All Rights Reserved.