Skip to content
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.

Need at least one example using main_binary and/or cargo_binary to actually test a Rust CLI app. #89

Open
gnzlbg opened this issue Feb 18, 2018 · 1 comment

Comments

@gnzlbg
Copy link

gnzlbg commented Feb 18, 2018

The docs don't show how to test a cli application written in Rust.

Like, there are no examples in the documentation that actually show how to do this. The main_binary and cargo_binary functions are mentioned, but without showing how to use them to do anything useful.

If this crate main audience are Rust programmers wanting to test Rust CLI applications, having some examples showing how to test an actual Rust cli application would significantly lower the barrier of entry to use this crate.

@gnzlbg gnzlbg changed the title Need more examples of using main_binary and cargo_binary. Need at least one example using main_binary and/or cargo_binary to actually test a Rust CLI app. Feb 18, 2018
@killercup
Copy link
Collaborator

killercup commented Feb 18, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants