Target Test Directories The target-test-dir and target-test-dir-support crates provide a convenient proc-macro with_test_dir for tests which need a test-specific directory. See the crate documentation for target-test-dir for an example.