ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
test_timeout_listener Class Reference

Catch2 listener that enforces per-test timeouts. More...

#include <test_timeout_listener.hpp>

Inherits EventListenerBase.

Collaboration diagram for test_timeout_listener:
Collaboration graph

Public Member Functions

void testCaseStarting (Catch::TestCaseInfo const &testInfo) override
 
void testCaseEnded (Catch::TestCaseStats const &testCaseStats) override
 

Detailed Description

Catch2 listener that enforces per-test timeouts.

This listener tracks the duration of each test case and will terminate the process if a test exceeds the configured timeout. This provides visibility into which specific test is timing out, rather than just seeing the overall test binary timeout from CTest.

Default timeout is 60 seconds per test. Set the ORES_TEST_TIMEOUT_SECONDS environment variable to override.