mirror of
https://github.com/google/googletest.git
synced 2025-04-06 05:55:04 +00:00
wiki change: adds a reference to expect_fatal_failure in the death test section.
This commit is contained in:
parent
834fcf0945
commit
194d1a670c
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue