Top "Googletest" questions

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

Comparison of C++ unit test frameworks

I know there are already a few questions regarding recommendations for C++ unit test frameworks, but all the answers did …

c++ unit-testing cppunit googletest boost-test
How to run specific test cases in GoogleTest

I am trying to write a function/method for my project, which will ask to user which all test cases …

c++ visual-studio-2010 googletest
How to start working with GTest and CMake

I have recently been sold on using CMake for compiling my C++ projects, and would now like to start writing …

unit-testing cmake googletest
GoogleTest: How to skip a test?

Using Google Test 1.6 (Windows 7, Visual Studio C++). How can I turn off a given test? (aka how can I prevent …

googletest
How to set up googleTest as a shared library on Linux

Debian does not provide any precompiled packages for gTest anymore. They suggest you integrate the framework into your project's makefile. …

c++ linux unit-testing installation googletest
Comparison of arrays in google test?

I am looking to compare two arrays in google test. In UnitTest++ this is done through CHECK_ARRAY_EQUAL. How …

c++ unit-testing googletest
How to specify multiple exclusion filters in --gtest_filter?

The question is about google-test framework. I want to run all tests excluding some according to multiple exclusion filters, like: …

googletest
Printing additional output in Google Test

I'm using the googletest C++ testing framework. Normally the textual output of running a test looks like this: [ RUN ] MyTest.…

c++ googletest
How to set $(OutDir), $(TargetName), $(TargetExt), and %(Lib.OutputFile) with Visual Studio?

I'm trying to build gtest on Visual Studio 2010. After converting the solution file, I tried to build, and I got …

visual-studio unit-testing googletest
SEH exception with code 0xc0000005 thrown in the test body

I am writing a test using GoogleTest for the following class and I am getting the above error. class Base { // …

c++ visual-c++ tdd googletest