assert_cmd icon indicating copy to clipboard operation
assert_cmd copied to clipboard

Assert process::Command - Easy command initialization and assertions

Results 28 assert_cmd issues
Sort by recently updated
recently updated
newest added

This is to help us identify if cargo has addressed #6.

The implementations are only for `'static`. Can we do better? See https://docs.rs/assert_cmd/0.9.1/assert_cmd/assert/trait.IntoOutputPredicate.html

enhancement

For #24 we added support for passing a file's contents to stdin (see #26). Should we make it stream contents in? - From a file, read and pass in a...

enhancement
question
breaking-change

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/assert-rs/assert_cmd). This repository currently has no open or...

The test suite I'm working with uses file locks on destructors to ensure things run synchronously. Having tests panic breaks that (unless we catch panics). Easiest way is to use...

Would it be possible to `pub use predicates` in the crate root? Since the crate is somewhat fundamental to output testing, it would be convenient to have direct access. One...

The docs should make it obvious that to invoke a subcommand, you should just use `arg` or `args` with the subcommand in that list. I know it's not hard to...

Often in CI I find the important details are lost behind: ```` ``` ``` ```` this makes it hard to debug issues. It would be great to have an environment...

It would be nice to track and report various metrics for child processes created with assert_cmd. The kind of process metrics that you might track with `/usr/bin/time` or `perf`, such...

The implementation of timeout implemented in #92 does not work as intended for payload processes with children. Namely, it will get stuck here: ``` let stdout = stdout .and_then(|t| t.join().unwrap().ok())...