googletest
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 the criteria to decide whether开发者_如何学运维 to use one or the other.Use[详细]
2022-12-25 04:52 分类:问答C++ linking issue on Visual Studio 2008 when crosslinking different projects on same solution
I\'m using Google Test Framework to set some unit tests. I have got three projects in my solution: FN (my project)[详细]
2022-12-24 17:11 分类:问答How to make google-test classes friends with my classes?
I heard there is a possibility to enable google-t开发者_JAVA技巧est TestCase classes friends to my classes, thus enabling tests to access my private/protected members.[详细]
2022-12-22 16:47 分类:问答GoogleTest: Accessing the Environment from a Test
I\'m trying out gtest for C++ (Google\'s unit testing framework), and I\'ve created a ::testing::Environment subclass to initialize and keep track of some things that I need for most of my tests (and[详细]
2022-12-22 15:25 分类:问答google-test: code coverage
Is it possible to get code coverage done by tests using google test framework开发者_运维知识库?Yes, I\'ve successfully used both free (gcov) and commercial (CTC++) tools. No special steps are needed,[详细]
2022-12-21 11:16 分类:问答Google Test and Visual Studio 2010 RC
Has anyone tried to build gtest 1.4.0 under VS 2010 RC? I get about 400 errors whe开发者_JAVA技巧n I try to build it.[详细]
2022-12-19 21:50 分类:问答Force library linking with Qt and google test
I\'m trying to write a test suit for my Qt(c++) application using google test, the main problem is that my application consists of one main program and various sha开发者_运维技巧red libs. Everything w[详细]
2022-12-12 11:52 分类:问答Setup Google Test (gtest) with Eclipse on OS X
What is the procedure to setup Google Test to work under Eclipse on Mac OS X? I followed the instruction in README to compile and install gtest as framework from XCode.[详细]
2022-12-09 22:40 分类:问答GoogleMock - Matchers and MFC\ATL CString
I asked this question on the Google Group but I think I will get a faster response on here. I\'m trying to use Google\'s Mocking framework to test my code. I am also utilizing their test framework as[详细]
2022-12-09 10:12 分类:问答
加载中,请稍侯......