GoogleTestAddinGoogleTestAddin is an Add-In for Visual Studio 2010 and 2008. It makes it easier to execute/debug googletest The output of the googletest console application is redirected tothe a additional Visual Studio output window. How to install the Add-In on Visual Studio 2008Place the two files GoogleTestAddIn.AddIn andGoogleTestAddin.dll into the following folder: How to install the Add-In on Visual Studio 2010Place the two files GoogleTestAddIn.AddIn andGoogleTestAddin.dll into the following folder: Start Visual Studio 2008/2010 and the Add-In can be found listed under Tools -> Add-in Manager.
The function behind this three buttons/items is:
How to use the Addin with Visual Studio 2008/2010In your test code you will use the following to define a test function: TEST ( TestName, TestFunction ) Now you can select which part of the tests shouldbe executed/debugged with the following selections:
TEST (TestName, TestFunction ) Executes/Debug only the function TestFunction within the test TestName. TEST (TestName, TestFunction ) Executes/Debug all functions within the test TestName.
The following output is generated by the Add-in: Output with failed test: Thats it.
|