Skip to content

cargo test --doc does not test examples #2684

Closed
@mkroman

Description

@mkroman

When running cargo doc --test in a project folder, cargo does not test documentation examples, it only builds the project and exits.

This is when running cargo from nightly.

mk@maero ~/Projects/SoundCloud % cargo test --doc
mk@maero ~/Projects/SoundCloud % 

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