pub trait TestDirExt{
// Required method
fn spawn_child_with_command(
self,
cmd: &str,
args: Arguments,
) -> Result<TestChild<Self>>;
}
Expand description
Extension trait for methods on tempdir::TempDir
for using it as a test
directory with an arbitrary command.
This trait is separate from ZebradTestDirExt
, so that we can test
zebra_test::command
without running zebrad
.
Required Methods§
Object Safety§
This trait is not object safe.