/// Generally the right way to call this function is
/// ```ignore
/// # use canister_test::*;
/// Project::new(std::env::var("CARGO_MANIFEST_DIR").unwrap());
/// ```
/// `cargo_manifest_dir` is the directory where the Cargo.toml of the
/// project with the binaries you want to test are
Generally the right way to call this function is
```ignore
Generally the right way to call this function is ` ` ` ignore
pub fn new<P: AsRef<Path>>(cargo_manifest_dir: P) -> Self {
        Project {
            cargo_manifest_dir: PathBuf::from(cargo_manifest_dir.as_ref()),
        }
    }
pub fn new < P : AsRef < Path > > ( cargo_manifest_dir : P ) -> Self { Project { cargo_manifest_dir : PathBuf :: from ( cargo_manifest_dir . as_ref ( ) ) , } }
Generally the right way to call this function is
```ignore
Generally the right way to call this function is ` ` ` ignore
cargo_manifest_dir
P
use canister_test::*;
:new(std::env::var("CARGO_MANIFEST_DIR").unwrap());
```
`cargo_manifest_dir` is the directory where the Cargo.toml of the
project with the binaries you want to test are
: new ( std :: env :: var ( " CARGO_MANIFEST_DIR " ) . unwrap () ) ; ` ` ` ` cargo_manifest_dir ` is the directory where the Cargo . toml of the project with the binaries you want to test are