Run Ruby tests, RSpec examples, Cucumber features and Python tests files from Atom, quickly and easily.
In Atom's Settings, go to Packages, search for "Ruby Test".
Click the Install
button.
IMPORTANT: Before configuring ruby-test, toggle to the test panel to activate
the package: cmd-ctrl-x
.
Shell: executable or path to shell (e.g. fish
, /bin/zsh
)
Open the test file you want to run, then issue one of the following:
cmd-ctrl-y
- Run all the test filescmd-ctrl-t
- Run the current test filecmd-ctrl-r
- Run the test at the current line in test filecmd-ctrl-e
- Re-run the previous test (doesn't need to have the test file active)cmd-ctrl-x
- Show/hide the test panelcmd-ctrl-c
- Cancel current test run
- Run all the tests in the project
- Run the tests for current test file
- Run single test at cursor
- Run previous test
- Configure the shell commands that run the tests
- Supports Ruby managers, like
rvm
andrbenv
- Supports bash, z-shell, fish
- Supports Test::Unit, RSpec, Minitest, Cucumber and Python test files (unittest)