installation-testing 0.0.4

A testing installation library
Documentation
  • Coverage
  • 30.77%
    4 out of 13 items documented2 out of 8 items with examples
  • Size
  • Source code size: 5.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.57 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • taishingi

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());