https://github.com/jaisonerick/vim-ginkgo-runner
A simple ginkgo tests runner.
https://github.com/jaisonerick/vim-ginkgo-runner
Last synced: 3 months ago
JSON representation
A simple ginkgo tests runner.
- Host: GitHub
- URL: https://github.com/jaisonerick/vim-ginkgo-runner
- Owner: jaisonerick
- License: mit
- Created: 2015-09-29T16:35:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-29T16:52:44.000Z (over 10 years ago)
- Last Synced: 2025-01-16T18:53:32.596Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 129 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim Ginkgo Runner
Ginkgo test runner for Vim (with focus support).
## Installation
Install via [vundle](https://github.com/gmarik/vundle):
Plugin 'jaisonerick/vim-ginkgo-runner'
## Configuration
### Key mappings
Add your key mappings to `.vimrc`:
map t :call RunCurrentGinkgoFile()
map s :call RunNearestGinkgo()
map l :call RunLastGinkgo()
map a :call RunAllGinkgo()
### Custom command
Overwrite the `g:ginkgo_command` variable to execute a custom command. I use it
together with the
[vim-tmux-runner](https://github.com/christoomey/vim-tmux-runner) plugin to run
the tests on a separate TMux split.
Example:
let g:ginkgo_command = "call VtrSendCommand('ginkgo {spec}')"
## Credits
This plugin is strongly based on https://github.com/thoughtbot/vim-rspec.