https://github.com/cloud8421/vimux-cucumber
Run Cucumber Features through Vimux
https://github.com/cloud8421/vimux-cucumber
Last synced: over 1 year ago
JSON representation
Run Cucumber Features through Vimux
- Host: GitHub
- URL: https://github.com/cloud8421/vimux-cucumber
- Owner: cloud8421
- Created: 2012-04-14T17:24:27.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-04-06T13:25:04.000Z (about 13 years ago)
- Last Synced: 2025-01-13T01:29:48.481Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 99.6 KB
- Stars: 13
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WHAT?
====================
Heavily inspired by [Vimux-ruby-test](https://github.com/pgr0ss/vimux-ruby-test). Most of the codebase is directly taken from that plugin itself.
- Run the feature your cursor is currently on
- Run the entire feature you are working in
- Streaming output to tmux via vimux
HOW?
====================
Use any of the commands below. Map them to shortcuts
in your .vimrc for easy access.
- RunFocusedCuke - run focused cuke
- RunAllCukes - run all cukes in the current file
IMPORTANT: if you use this plugin and Vimux-Ruby-Test, you may want to share the same shortcut.
If you do, you can use the following configuration:
if exists('$TMUX')
autocmd FileType ruby map f :RunRubyFocusedTest
autocmd FileType ruby map t :RunAllRubyTests
autocmd FileType cucumber map f :RunFocusedCuke
autocmd FileType cucumber map t :RunAllCukes
endif
This assumes that your Vim configuration recognizes Cucumber features with the `cucumber` file type.
INSTALL
====================
Put the contents of this directory into your pathogen bundle. That's it!
REQUIREMENTS
====================
- vim with ruby support (compiled +ruby)
- [vimux](https://github.com/benmills/vimux)
CONTRIBUTORS:
====================
- [Claudio Ortolina](http://github.com/cloud8421)
Original code by:
- [Drew Olson](https://github.com/drewolson)
- [Paul Gross](https://github.com/pgr0ss)