all asserts should have a version where the user can provide a meaningful string
Mocking and unit testing tool for C and C++
Brought to you by:
pognibene
all asserts should have a version where the user can provide a meaningful string
This allows to see what exactly is wrong when running the test suite.
Other test frameworks have this feature and it is pretty usefull
The idea is that if the assert fails, the same message is still being printed as output, but also the extra provided error message.
Anonymous
That's a very old issue. As explained in the docs, any unit testing framework can be used in combination with opmock (which is primarily a mocking framework). The unit testing framework in Opmock is on purpose very light. For a full fledged unit testing framework, please pick another library :-)