Skip to content
This repository was 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

Description

@gnzlbg

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions