Currently not working on anything rust related so looking for people to contribute to this package
Runs Cargo tests from within Atom.
-
ctrl-alt-c
runs the current test file -
ctrl-alt-shift-c
re-runs the last test selection- even if you switched to another tab
This package is heavily based off Mocha Test Runner
Rust and Cargo must be installed.
This plugin looks for the closest cargo.toml
to the current file
It then runs cargo from this directory
If you go to the settings pane, you can set the following values:
Cargo binary path
: path to thecargo
executable (defaults to/usr/local/bin/cargo
).Show context information
: display extra information for troubleshooting (defaults tofalse
)Options
: append given options always to cargo binary (optional)
I built this plugin while learning Rust. I'm sure there are a bunch of cool things that Cargo can do that I don't know about yet, if you can think of a cool feature, feel free to help out.