Skip to content

Docs for documentation tests should mention where doctests are picked up from (e.g. not from files in tests/*) #9648

Closed
@robinst

Description

@robinst

(@GuillaumeGomez asked me to open an issue here, see his comment: GuillaumeGomez/doc-comment#25 (comment))

The docs for documentation tests (https://doc.rust-lang.org/rustdoc/documentation-tests.html) don't currently mention in which files doctests can be put. E.g. they work if put into src/* files, but not in integration test files in tests/*. It would be good if that was mentioned there.

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