Skip to content

nocapture for doc-tests #1732

@diwic

Description

@diwic

Hi,

For ordinary tests, I can run cargo test -- --nocapture and the output will shown on-screen. However, I have doc-tests as well (examples in the documentation), and even though I use --nocapture the output of these are not shown.

I'm not sure whether this is a bug in cargo or somewhere else, but at least the behaviour is inconsistent.

Summary Notes

Managed by @rustbot—see help for details

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