5 ms·
Also, there are really good free alternatives: googletest/gmock supports Windows, linux, and (I think) Mac. The interesting feature appears to be 'Test "untest
by 124816 16y ago
Also, there are really good free alternatives: googletest/gmock supports Windows, linux, and (I think) Mac.
The interesting feature appears to be 'Test "untestable" code such as statics, globals and non-virtual methods.'
I'm not sure how/if this could be done within vanilla C++, though maybe you could write a GCC/clang plugin to allow hooking of everything.