insta-cmd

Crates.ioinsta-cmd
lib.rsinsta-cmd
version0.6.0
sourcesrc
created_at2022-07-21 22:58:23.636307
updated_at2024-04-11 09:56:44.949299
descriptionA command line extension to the insta testing library for Rust
homepagehttps://insta.rs/
repositoryhttps://github.com/mitsuhiko/insta-cmd
max_upload_size
id629904
size38,085
Maximilian Roos (max-sixty)

documentation

README

insta-cmd: command line testing extension for insta

Build Status Crates.io License rustc 1.56.1 Documentation

Introduction

This is an experimental extension to insta for command line app testing.

use std::process::Command;
use insta_cmd::assert_cmd_snapshot;

assert_cmd_snapshot!(Command::new("echo").arg("Hello World!"));

License and Links

Commit count: 24

cargo fmt