How I test Rust command-line apps with `assert_cmd`

from blog alexwlchan, | ↗ original
Some practical examples of how this handy crate lets me write clear, readable tests.