userver: userver/utest/death_tests.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
death_tests.hpp File Reference

Detailed Description

Contains facilities for testing service crashes.

Definition in file death_tests.hpp.

Go to the source code of this file.

#include <gtest/gtest.h>
#include <userver/utils/assert.hpp>
#include <userver/utils/impl/disable_core_dumps.hpp>
+ Include dependency graph for death_tests.hpp:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  utest
 Mocks and test helpers.
 

Macros

#define UEXPECT_DEATH(statement, message)
 An optimized equivalent of EXPECT_DEATH.