Skip to content

ferkulat/atom-cargo-test-runner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packages

No packages published

Languages

  • CoffeeScript 90.3%
  • CSS 9.7%