Registry / testing / insta-cmd

insta-cmd

JSON →
library0.6.0rscratesunverified

A command line extension to the insta testing library for Rust.

# Cargo.toml [dependencies] insta-cmd = "0.6.0"
INSTALL
IMPORT
SIG · INSTA-CMD
I
insta-cmd
testingrustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

assert_cmd_snapshot
use insta_cmd::assert_cmd_snapshot;

Takes a snapshot of a command's output for testing.

use insta_cmd::assert_cmd_snapshot; fn main() { // Example: snapshot test for a command assert_cmd_snapshot!("echo hello"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Amazon
1
Resources
insta-cmd — cargo add insta-cmd · libregistry