microsoft-cpp-unit-test Questions
2
Solved
I'm writing some unit tests using Microsoft's CppUnitTestFramework.
I want to test, if the method I call throws the correct exception. My code is:
TEST_METHOD(test_for_correct_exception_by_input...
Compatriot asked 19/1, 2019 at 14:28
1
Solved
TL;DR: You can use GMock to add mocking capability to your Microsoft native c++ unit tests. See my answer below for details.
I want to start adding mocks to my existing set of native unit tests....
Depressomotor asked 27/3, 2019 at 18:41
2
Solved
I’m doing some C++ test driven development. I have a set of classes the do the same thing e.g.
same input gives same output (or should, that’s what I’m try to test). I’m using Visual Studio 2012’...
Griner asked 3/7, 2013 at 7:3
1
© 2022 - 2024 — McMap. All rights reserved.