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

How to test piping one command into another #119

@samuela

Description

@samuela

I have a situation in which I'd like to test the output of things like myprog | head and echo "foobar" | myprog. Is there a way to accomplish this with assert_cli? A concise assert_cmd! option would be ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions