Property
signal
The POSIX signal the test is expected to raise.
Since v1.0
struct TestOptions {
StatusCode signal;
}
Discussion 🔗
If the test does not raise this signal, then it fails. This option is mutually exclusive with the exit status option.
TEST(yourSuite, yourTest, .signal=SIGABRT) {
// ...
}
This option implicitly enables the sandbox.