You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, why throwing and catching an exception on abort ?
I think, the goal of aborting on fail is to be able to use a debugger to stop where the problem is... Thus why not simply call std::abort() (or a user-defined abort function if no std libs) in TestSuite::doAbortTest?
I tried to run this unit test (
ttt.hpp
):by executing :
but It does not abort on any fail as the documentation says :
(I also tried to exec it with gdb and nothing is reported, the program exit normally with only the exit code non zero, but nothing about an abort...)
This may be caused by the "do nothing" at this line : https://github.com/CxxTest/cxxtest/blob/master/cxxtest/RealDescriptions.cpp#L122
The text was updated successfully, but these errors were encountered: