assert_cmd icon indicating copy to clipboard operation
assert_cmd copied to clipboard

Pass-thru std{out,err} while also collecting it

Open killercup opened this issue 5 years ago • 2 comments

Not a pressing issue at all, just a random thing I wanted recently for nicer test debugging.

killercup avatar Apr 09 '20 15:04 killercup

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

pksunkara avatar May 06 '20 20:05 pksunkara

Yeah that is similar to what I had in mind.

PS: This link to your code works

killercup avatar May 07 '20 07:05 killercup