Top "Googletest" questions

Google's C++ testing framework based on xUnit that runs on multiple platforms.

Using ASSERT and EXPECT in GoogleTest

While ASSERT_* macros cause termination of test case, EXPECT_* macros continue its evaluation. I would like to know which is …

c++ unit-testing googletest
Test a specific exception type is thrown AND the exception has the right properties

I want to test that MyException is thrown in a certain case. EXPECT_THROW is good here. But I also …

c++ unit-testing exception googletest
How to send custom message in Google C++ Testing Framework?

I use Google C++ Testing Framework for unit testing of my code. I use Eclipse CDT with C++ Unit testing …

c++ googletest
Generate Google C++ Unit Test XML Report

I am new to using Google test framework for unit testing and am intending to generate an XML report of …

xml unit-testing report googletest
using googletest in eclipse: how?

I've downloaded google test, but now I've no idea on how to link it to my project in eclipse. Should …

c++ eclipse googletest
C++ project organisation (with gtest, cmake and doxygen)

I am new to programming in general so I decided that I would start by making a simple vector class …

c++ cmake doxygen googletest
Is Google Test OK for testing C code?

So I've come to like and enjoy using Google Test for a C++ project I'm involved in. I'm just bringing …

c googletest
How to capture stdout/stderr with googletest?

Is it possible to capture the stdout and stderr when using the googletest framework? For example, I would like to …

c++ unit-testing stdout stderr googletest
google-test: code coverage

Is it possible to get code coverage done by tests using google test framework?

c++ code-coverage googletest
Gtest: Undefined References

I am trying to use GoogleTest to test a simple function, but as I run make in my build folder, …

c++ unit-testing unix cmake googletest