Testing with GTest

Googletest is a cross-platform C++ test framework developed by Google based on the xUnit architecture with a plethora of features such as XML report generation, platform-neutral test code and test isolation.

test.cc
1
2
3
4
5
6
int main(int argc, char * argv[])
{
::testing::InitGoogleTest(&argc, argv);

return RUN_ALL_TESTS();
}
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×