I have a test for Google Test Framework that is failing without any further explanation, meaning that the test suite is not crashing but is correcly ending its execution printing:
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
with the name of the failed test.
The question is: when can a test in Google Test Framework fail?
I only know about missing EXPECT_CALL
and wrong ASSERT_TRUE
/ASSERT_FALSE
, but they all should provide a better explanation in the standard output.
Is there anything else that can make a test fail?