An open API service indexing awesome lists of open source software.

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.

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.