philsquared/Catch — Issue #67: INTERNAL_CATCH_TEST should handle exceptions as INTERNAL_CATCH_NO_THROW
Author: philsquared
Created: 2011-12-30 13:42:23+00:00
State: open

INTERNAL_CATCH_TEST is the internal macro that implements the various forms of CHECK and REQUIRE.
If, while evaluating the expression, an exception is thrown this is currently only caught at the test case runner level - losing valuable contextual information (file/ line/ stringized expression) and prevents further tests in the same test case from running even from a CHECK.

It's debatable whether the test case should continue after an unexpected exception - even from a CHECK - probably it shouldn't (if the CHECK hadn't been there the exception would have propagated out anyway - and the that state may be invalid).

But we really should keep the contextual information.