Registry / testing / testdir

testdir

JSON →
library0.10.0rscratesunverified

Semi-persistent, scoped test directories for Rust testing.

# Cargo.toml [dependencies] testdir = "0.10.0"
INSTALL
IMPORT
SIG · TESTDIR
T
testdir
testingrustv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TestDir
use testdir::TestDir;

Create a temporary test directory.

use testdir::TestDir; fn main() { let dir = TestDir::new(); std::fs::write(dir.path().join("test.txt"), "data").unwrap(); println!("Temp dir: {:?}", dir.path()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
testdir — cargo add testdir · libregistry