Atom package to switch between Ruby source code and test files
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
keymaps
lib
menus
spec
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
coffeelint.json
package.json

README.md

ruby-test-switcher Build status Dependencies status

ruby-test-switcher is an Atom package to switch between Ruby source code and test files with a single keystroke.

It supports RSpec, minitest and test-unit, both in Rails and non-Rails projects.

Usage

By default, available key bindings are:

  • Switch in active pane: alt-r

    Switch to target file, in the same pane. *

  • Switch splitting panes: alt-shift-r

    Switch to target file, in different pane (if needed). Source files are opened to the left, test files to the right. *

* Notice that if the target file is already opened, both commands simply switch to it.

Installation

From the command line:

$ apm install ruby-test-switcher

From Atom's GUI:

Settings/Preferences ➔ Install ➔ `ruby-test-switcher`

Inspired by the awesome Sublime Text 2 Ruby Tests.