wiki change: adds a reference to expect_fatal_failure in the death test section.

This commit is contained in:
zhanyong.wan 2009-05-12 18:09:26 +00:00
parent 834fcf0945
commit 194d1a670c

View file

@ -341,6 +341,8 @@ Since these precondition checks cause the processes to die, we call such tests
_death tests_. More generally, any test that checks that a program terminates
in an expected fashion is also a death test.
If you want to test `EXPECT_*()/ASSERT_*()` failures in your test code, see [#"Catching"_Failures Catching Failures].
== How to Write a Death Test ==
Google Test has the following macros to support death tests: