/atom-cargo-test-runner

Cargo test runner for Atom Editor

Primary LanguageCoffeeScriptMIT LicenseMIT

⚠️ Looking for maintainers ⚠️

Currently not working on anything rust related so looking for people to contribute to this package

Atom : Cargo test runner

License

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

Requirements

Rust and Cargo must be installed.

Usage

This plugin looks for the closest cargo.toml to the current file It then runs cargo from this directory

Settings

If you go to the settings pane, you can set the following values:

  • Cargo binary path: path to the cargo executable (defaults to /usr/local/bin/cargo).
  • Show context information: display extra information for troubleshooting (defaults to false)
  • Options: append given options always to cargo binary (optional)

Help

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.