https://github.com/mitsuhiko/insta-cmd
CLI extension to insta
https://github.com/mitsuhiko/insta-cmd
Last synced: 6 months ago
JSON representation
CLI extension to insta
- Host: GitHub
- URL: https://github.com/mitsuhiko/insta-cmd
- Owner: mitsuhiko
- License: apache-2.0
- Created: 2022-07-21T21:57:55.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T22:20:12.000Z (about 1 year ago)
- Last Synced: 2024-10-13T01:35:20.206Z (9 months ago)
- Language: Rust
- Size: 25.4 KB
- Stars: 42
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
insta-cmd: command line testing extension for insta
[](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)