Rust VS Code Test Explorer
Rust Test Explorer for VS Code that enables viewing and running your Rust tests from the VS Code Sidebar.
Functional, but still in an early Beta/Preview !!!!
See the Test Explorer UI Extension for additional information.
Detected unit tests will be viewable and runnable from the Test Explorer window as long as there is a Cargo.toml file in the root of the directory. It should also work with Cargo Workspaces, as well as packages that have both bin and lib targets.
The tree will reflect the
We've got some sample projects in our samples repo for various scenarios.
The initial focus is the core functionality of viewing and running first unit tests.
Afterwards we're tentatively planning to make the individual test results available in the tree (i.e. when you click on failed test case node in the tree, test output will be viewable in VS Code Output Window). Next, we want to support discovering and running integration tests and documentation tests.
More info can be found in the GitHub Project
Here's some of our other Rust-related projects you may want to check out!
MIT - see license details here