Setting up Google Test
|Top Previous Next|
The GoogleTest lib files:
Isolator++ Professional installs pre-compiled versions of the Google Test Framework (x86 and x64), as a runtime dynamically linked library, using the VS 2010 runtime libraries. You can also link with other versions of the dll, or compile it yourself.
Write the _tmain function to run the tests. 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.
With Google Test, results look like this:
In the result window, youll see which tests passed, and which didnt.
Copyright Typemock Ltd. 2009-2020. All Rights Reserved.