A vim plugin for running your Ruby tests
VimL
Latest commit 2c16294 Jun 30, 2016 @skalnik committed on GitHub Add a LICENSE ©️
Failed to load latest commit information.
autoload Fix typos Jun 13, 2016
doc Add documentation for vroom_ignore_color_flag Sep 2, 2015
plugin Support running last test Sep 19, 2014
.gitignore adding a gitignore to ignore docs May 3, 2012
LICENSE Add a LICENSE ©️ Jun 30, 2016
README.md URL Better :link: Jul 1, 2015

README.md

vroom.vim

Run your Ruby tests! Supports RSpec, Test::Unit/MiniTest, Konacha, and Cucumber. For more information, check out the documentation (available in Vim after installation :help vroom)

Installation

Check out vundle or pathogen.vim and then install:

vundle

Add the following to your .vimrc after vundle setup:

Bundle 'skalnik/vim-vroom'

and remember to run :BundleInstall.

pathogen

Copy and paste:

$ cd ~/.vim/bundle
$ git clone 'git://github.com/skalnik/vim-vroom.git'

Oddities

If you're using MacVim & (rbenv or rvm) and your tests are running under the wrong Ruby version, check out this fix.

Credit

I first stumbled upon this snippet of code in Gary Bernhardt's .vimrc, and have modified it, turned it into a plugin and begun improving it. Steven Harman also provided inspiration in the creation of the plugin, cucumber support, and Gemfile detection.