Is it possible to check the message generated by the exception? Currently, you can do:
ASSERT_THROW(statement, exception_type)
which is all good and good, but no where can I find a way to check e.what () is really what I'm looking for. Is this impossible to do with the Google test?
c ++ exception-handling googletest
Foreverleearning
source share