Friends,
I have been looking at unit test code coverage tools for the last 2 weeks, evaluating them for our specific needs. The last one I would like to evaluate is Visual Studio's own code coverage ...

I have a solution which was compiled with compiler VS2008. It was working perfect. It is instrumented with Google Test and the Google Test library is linked to the solution. the gtest.lib should be ...

I develop a DLL in C++ with Visual Studio 2013 Express which contains some callback functions which are called from another process and I want to unit-test classes and functions I defined in that DLL. ...

So, I have a unit test where I'm trying to ensure that encoding and decoding is sound. Basically, I kind of want to be able to serialize multiple different C++ objects into a string, and then write ...

I have got question connected with google test. I would like to ask if while inducing "EXPECT_CALL(*A, some_method(mes1));" in test case there is possiblity to compare fields included
in mes1 class.
...

We are using the Google Test framework (version 1.7) for unit tests in C++ project (with Visual Studio 2012 and TFS 2012). By using GoogleTestRunner for VS2012 I am able to discover the tests written ...

About a week ago I moved from Windows and Visual Studio to Mac and Xcode. I want to be able to work on my project on Mac, so I decided to port it.
First of all I need test to work on Mac and Google ...

I'm working on a C++ library, and I'm using gtest for unit testing. I want to add ASSERT_* statements to the library code itself, not just the unit test code. I want these ASSERTions to cause a unit ...

I want build and test a small project of mine with cmake and gtest. In the project I have a function readModel(...) where the definition and implementation is separated. The project builds fine but I ...

I am a Junior Software Engineer at my day job, working with C#/WPF/Prism, and I have been trying to teach myself other languages and libraries in my spare time to expand my horizons. I have recently ...

I would like to send the results of my C/C++ unit tests to CDash server and see all of them, not just the aggregated result produced with an add_test command in the CMakeLists.txt.
If I include all ...

I am running some unit tests using GTest/GMock on Android. I have noticed that it ignores my argument of --gtest_filter=MyTestCase.MyTest - all of my tests run no matter what I put in the filter. I've ...

I'm trying to write GameBoy emulator, but I'm not sure how should I test my CPU_LR39502 class. To avoid huge if-else-if / switch-case statements, I came up with idea to put opcode functor into map, ...

So, I know there's "literally" fixtures for gtest, but the constructor/destructor and setup/teardown functions will execute after each test rather than after the entire set of tests in the fixture.
I ...

So, I have a class that prints messages to cout and cerr. Sadly, refactoring it to use logging is out of the question. In my tests, I would like to capture both cout and cerr like it is described in ...

If you download the latest version of Google Mock (1.7.0) there are project files for VS2005 and 2010! The project to test is written in VS2008,so I opened the VS2005 file and converted it for VS2008 ...