Skip to content

Rust tests should be inside of the Rust crate #135

@kylebarron

Description

@kylebarron

There seem to be various problems when having the rust tests at a separate top-level directory tests/ instead of inside of src/. For example I have vscode set to format on save, but because the tests aren't part of the crate, that doesn't work. And I can't import from a util.rs file with crate::util because there is no crate that tests/ is a part of.

So we should move rust tests to be inside of src/ but we should keep the files at the top level so they can be accessed by both Rust and Python tests

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