Crates.io | insta-cmd |
lib.rs | insta-cmd |
version | 0.6.0 |
source | src |
created_at | 2022-07-21 22:58:23.636307 |
updated_at | 2024-04-11 09:56:44.949299 |
description | A command line extension to the insta testing library for Rust |
homepage | https://insta.rs/ |
repository | https://github.com/mitsuhiko/insta-cmd |
max_upload_size | |
id | 629904 |
size | 38,085 |
insta-cmd: command line testing extension for insta
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!"));