TestFixture¶
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.
TestFixture¶
Owns one fixture and runs its cleanup on explicit close, scope exit, or async-frame cancellation.
constructor¶
Registers deterministic cleanup before the fixture is exposed to test code.
resource¶
Borrows the fixture value while this owner remains alive.
close¶
Executes cleanup once and returns the same outcome to repeated callers.