1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
<div align="center">
<p><strong>insta-cmd: command line testing extension for insta</strong></p>
</div>
[](https://github.com/mitsuhiko/insta-cmd/actions?query=workflow%3ATests)
[](https://crates.io/crates/insta-cmd)
[](https://github.com/mitsuhiko/insta-cmd/blob/main/LICENSE)
[](https://img.shields.io/badge/rust-1.57.0%2B-orange.svg)
[](https://docs.rs/insta-cmd)
## Introduction
This is an experimental extension to insta for command line app testing.
```rust
use std::process::Command;
use insta_cmd::assert_cmd_snapshot;
assert_cmd_snapshot!(Command::new("echo").arg("Hello World!"));
```
## License and Links
- [Project Website](https://insta.rs/)
- [Documentation](https://docs.rs/insta-cmd/)
- [Issue Tracker](https://github.com/mitsuhiko/insta-cmd/issues)
- License: [Apache-2.0](https://github.com/mitsuhiko/insta-cmd/blob/main/LICENSE)
|