pub trait TestEnv: Sized {
    fn current_dir<S: AsRef<Path>>(self, path: S) -> Self;
    fn env<S: AsRef<OsStr>>(self, key: &str, value: S) -> Self;
    fn env_remove(self, key: &str) -> Self;

    fn test_env(self) -> Self { ... }
}
Expand description

Establish a process’s test environment

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§