#version-control #git #process #command

installation-testing

A testing installation library

4 releases

0.0.4 Aug 9, 2023
0.0.3 Jun 21, 2023
0.0.2 Jun 18, 2023
0.0.1 Jun 17, 2023

#574 in Testing

24 downloads per month

GPL-2.0-or-later

7KB
94 lines

Installation testing

A program to test installation

Installation

cargo add installation-testing

Example

    use installation_testing::git::vcs::Git;
    use std::process::Command;

    let mut cargo = Command::new("cargo");

    let test = cargo.arg("build");
    let x =  Git::new("https://github.com/taishingi/zuu","/tmp/zuu"); // Clone directly the repository

    assert!(x.run(test).clean());  

No runtime deps