Skip to main content

Module test_scratch

Module test_scratch 

Source
Expand description

Where a test writes real files. Behind test-helpers so only a test build of the workspace carries it. Where a test writes real files.

Enabled by the test-helpers feature. Every crate in the workspace that needs a file on disk during a test asks here, so there is one answer to where those files go rather than one per crate that drifts from the rest.

Functionsยง

test_scratch_dir
A unique, empty directory under the workspace target/test-output.