approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
316 stars 51 forks source link

Running Catch2 tests in CLion gives 'unexpected exception' #131

Closed claremacrae closed 4 years ago

claremacrae commented 4 years ago

I've finally got to the bottom of why some users see 'unexpected exception' when running Catch2 tests in CLion - instead of seeing the actual exception text.

It's a CLion bug - https://youtrack.jetbrains.com/issue/CPP-11919.

This ticket is to track documenting it in the release notes...

claremacrae commented 4 years ago

The documentation for workarounds is at: https://github.com/approvals/ApprovalTests.cpp/blob/master/doc/Troubleshooting.md#running-catch2-tests-in-clion-gives-unexpected-exception