• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

ruby-test

Run Ruby tests, Rspec examples, and Cucumber features from Atom
  • #ruby
  • #test
  • #rspec
  • #spec
  • #cucumber
moxley
1.0.2 63,092
73
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

ruby-test package

Build Status

Run Ruby tests, RSpec examples, and Cucumber features from Atom, quickly and easily.

Running tests is quick and easy

Install

In Atom's Settings, go to Packages, search for "Ruby Test". Click the Install button.

Configure

IMPORTANT: Before configuring ruby-test, toggle to the test panel to activate the package: cmd-ctrl-x.

This relies on the platformio-ide-terminal package to run commands and has its own settings. Make sure, in its settings, the Working Directory is set to "Project". This is the package's default, but might be different if you already had the package installed.

Ruby Test Settings view

Run

Open the test file you want to run, then issue one of the following:

  • cmd-ctrl-y - Run all the test files
  • cmd-ctrl-t - Run the current test file
  • cmd-ctrl-r - Run the test at the current line in test file
  • cmd-ctrl-e - Re-run the previous test (doesn't need to have the test file active)

Features

  • 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 and rbenv
  • Supports bash, z-shell, fish
  • Supports Test::Unit, RSpec, Minitest, and Cucumber

Helpful Tips

  • Use ruby-test in conjunction with project-manager to maintain different ruby-test settings per project.
  • Run ruby-test on a project that runs in a VM or Vagrant

Contributing

Any of the following are appreciated:

  • Submit a Pull Request
  • Submit an Issue

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by