assert_cmd
assert_cmd copied to clipboard
Pass-thru std{out,err} while also collecting it
Not a pressing issue at all, just a random thing I wanted recently for nicer test debugging.
It was a bit difficult to get this setup in rust compared to other languages, but I have something similar here, https://github.com/pksunkara/cargo-workspaces/blob/master/src/utils/cargo.rs#L26