Structure

TestOptions

Test configuration options.

Since v1.0
struct TestOptions {
    int32_t iterations;
    StatusCode exit_status;
    StatusCode signal;
    int timeout;
    bool sandbox;
}

Properties 🔗

iterations

The number of times to invoke the test (default=1).

exit_status

The expected termination status code.

signal

The POSIX signal the test is expected to raise.

timeout

Test timeout duration (in milliseconds).

sandbox

Flag indicating if the sandbox should be used.

Discussion 🔗

This structure defines configuration options applied to a single test case.