Expand description
Reusable test support helpers.
use bluetape_rs_test::TempDir;
let temp = TempDir::new("bluetape-rs-test").expect("temp dir");
assert!(temp.path().exists());
temp.close().expect("cleanup");Structs§
- Concurrent
Config - Configuration for bounded concurrent test execution.
- Multithreading
Tester - Runs registered synchronous blocks on bounded OS worker threads.
- Suspended
JobTester - Runs registered async blocks on bounded Tokio worker tasks.
- TempDir
- Temporary directory removed on drop.
Enums§
- Async
Assert Error - Error returned by asynchronous assertion helpers.
- Concurrent
Assert Error - Error returned by concurrent test execution.
Functions§
- consistently
- Requires
conditionto stay successful forduration. - eventually
- Retries
conditionuntil it succeeds ortimeoutexpires. - run_
concurrently - Runs
operationconcurrently across bounded worker tasks.