Skip to content

A vim plugin for running your Ruby tests

License

Notifications You must be signed in to change notification settings

skalnik/vim-vroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

Plugin 'skalnik/vim-vroom'

and remember to run :PluginInstall.

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.