(&self)
| 176 | } |
| 177 | |
| 178 | pub fn get_unit_test_cmd(&self) -> Command { |
| 179 | let root_dir = &self.root_dir; |
| 180 | let package_name = &self.name; |
| 181 | let mut cmd = Command::new("cargo"); |
| 182 | cmd.arg("test") |
| 183 | .arg("--manifest-path") |
| 184 | .arg(format!("{root_dir}/Cargo.toml")) |
| 185 | .arg("--lib") |
| 186 | .arg("--package") |
| 187 | .arg(package_name); |
| 188 | cmd |
| 189 | } |
| 190 | |
| 191 | // Finished test [unoptimized + debuginfo] target(s) in 0.01s |
| 192 | // Running unittests src/lib.rs (target/debug/deps/quick_sort-c42cff5519f79ed2) |
no outgoing calls
no test coverage detected