Closed claremacrae closed 4 years ago
Version: v.8.4.0
This turned is believed to be a problem with the user's Catch setup on Mac, which failed to print the exception text from throwing of simple C++ exceptions - and nothing specific to Approval Tests.
The same code worked fine on their Linux and Windows machines.
So I'm going to close this, as it's not actionable for us, as far as I can see.
Pairing with a user today, with a custom Catch2 main, we found repeatedly that when Approvals threw an exception, Catch2 just reported something like "Unexpected exception" - and didn't display the exception text.
This meant that we had to debug every Approvals test failure, which wasted a bunch of time.
I believe I have seen this previously, but have not been able to track down why it only happens in some uses of Catch2.