Skip to content

Why doesn't the Tests page give actual code examples? #1304

Closed
@ghost

Description

https://doc.rust-lang.org/rust-by-example/cargo/test.html

I still have no idea how to implement this. How do I get my test file to properly import the source files? Why isn't an example shown on the Testing page? Like, a minimum viable example of what's required so the test can run.

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