Fixtures¶
Import: import system.testing;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
Fixtures¶
Helpers for async test bodies that need deterministic temporary-resource ownership.
temporary_file¶
Creates an owned temporary file whose destructor cleans up after a failed or cancelled body.
temporary_directory¶
Creates an owned private directory for a test's temporary resources.
run¶
Runs an async body and cleanup, preserving a body error and otherwise reporting cleanup errors.