Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Rust-Analyzer's "Run test" buttons don't work #1

@japaric

Description

@japaric

The #[test] attribute is picked up by Rust-Analyzer so RA shows "Run Test" buttons but you get an error if you try to use.
Those button will invoke cargo test --package testsuite --test test -- tests::assert_true --exact --nocapture which then invokes passes the tests::assert_true --exact --nocapture arguments to probe-run.
probe-run will fail to run as it doesn't recognize those command line arguments.
Interestingly the mod tests module is also picked up by RA so it also gets a "Run Test" button; that one also fails to run.

2020-09-08-155154

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions