a vim plugin for running radish
Author: Claudio Klingler ck@realtime-projects.com
License: GPL
vimradish is a vim plugin that allows you to run radish directly within the vim python interpreter.
Features:
- run radish within your vim python interpreter
- signal highlighting of passed/failed tests
- radish installed
- vim compiled with python support (2.7)
- python installed with setuptools
-
Ensure radish is installed in your python environment
-
Get vimradish
git clone http://www.github.com/realtimeprojects/vimradish ~/vimradish
-
Install vimradish:
cd ~/vimradish python setup.py install
-
Place the following statement somewhere in your ~/.vimrc
py import vimradish
-
Open a feature file from the test directory (radish base directory)
vim features/001.feature
-
Run radish
:Rr
-
Enjoy :-)
You can overwrite the default highlight colors for vim-radish by placing those commands into your .vimrc:
```vim
highlight RadishBusy ctermfg=yellow
highlight RadishPassed ctermbg=green
highlight RadishFailed ctermfg=darkred
highlight RadishSkipped ctermfg=darkgrey
```