Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.36 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.36 KB

vim script to simulate a TDD Bownling KATA with nodejs and mocha

prerequisites:

Before running the Bolwing Kata script in vim, you will need to make sure that some components are installed.

installing vim
``` sudo yum install vim ```
or
``` sudo apt-get install vim```
installing vundle & the required vim extensions
  • refers to https://github.com/gmarik/vundle
  • install vundle with the following command: git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
  • add the following in your ~/.vimrc file
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'snipMate'
Bundle 'mmozuras/snipmate-mocha'
filetype on
installing nodejs
installing mocha & should
sudo npm install mocha -g
sudo npm install should -g
Launching the vim script
  1. start vim in the BowlingKata-NodeJs-VIM folder

  2. type the following vim commands:

    :source bowlingKata.vim
    :call bownlingKata#All()
    

Et voilà!

BowlingKata