Mocha-given is a mocha interface that helps you write cleaner specs using
Using CoffeeScript and mocha-given reduces your tests to this:
describe 'assigning stuff to this', -> Given -> @number = 24 When -> @number++ And -> @number *= 2 Then -> @number == 50 And -> @number != 51
Run the test with mocha:
$ ./node_modules/.bin/mocha -u mocha-given --compilers coffee:coffee-script -R spec ./testFolder/
Writing test should be as easy as this!
Please start writing tests