suggestion on gtest death

时间:2019-03-06 11:39:26

标签: unit-testing googletest

I have a test case were the function in the test case will be directed to assert(x). Hence the test fails.

I would like to use EXPECT_DEATH or ASSERT_DEATH to overcome termination of test.

Suggest some example test cases that support my query

Thank you

0 个答案:

没有答案