Skip to content

Inconsistent behavior with --nocapture #1377

@michaelbeaumont

Description

@michaelbeaumont

cargo test -- --nocapture runs all my tests and I see all the stdout as it comes.
cargo test mod::test_name -- --nocapture runs mod::test_name but still captures all the output.
I don't think this is intended behavior.

I assume it has something to do with passing parameters using -- in general but I have no idea.

I'm using the nightly version of cargo installed with rustup.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions