Created
March 1, 2012 15:40
-
-
Save erochest/1950584 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Run PHP Unit tests. | |
nmap \Tu :w<CR>:call Send_to_Tmux("rake php:unit\n")<CR> | |
" Run Cucumber, vanilla. | |
nmap \Tc :w<CR>:call Send_to_Tmux("rake cucumber:default\n")<CR> | |
" Re-run Cucumber. | |
nmap \Tr :w<CR>:call Send_to_Tmux("rake cucumber:rerun\n")<CR> | |
" Run Cucumber on all scenarios tagged '@current' | |
nmap \Tt :w<CR>:call Send_to_Tmux("rake cucumber:current\n")<CR> | |
" Run Cucumber on the current feature file. | |
nmap \Tf :w<CR>:call Send_to_Tmux("FEATURE=" . @% . " rake cucumber\n")<CR> | |
" Run Cucumber on scenarios tagged '@current' in the current feature file | |
nmap \Tf :w<CR>:call Send_to_Tmux("FEATURE=" . @% . " rake cucumber:current\n")<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment