sheredom / utest.h

🧪 single header unit testing framework for C and C++
The Unlicense
834 stars 57 forks source link

Manage exceptions with specific message inside #130

Closed facug91 closed 1 year ago

facug91 commented 1 year ago

I've seen this problem in Google Test (https://github.com/google/googletest/issues/952), which doesn't provide a function for this. Some users have "solve" it by adding custom macros, like EXPECT_THROW_WITH_MESSAGE (can be seen in the same issue). Maybe something like that could be added to utest.h.