Skip to content

A VIM script to demonstrate the bowling kata written with NodeJS and the Mocha unit test framework

Notifications You must be signed in to change notification settings

erossignon/BowlingKata-NodeJs-VIM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A VIM script to demonstrate the bowling kata written with NodeJS and the Mocha unit test framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published