0.0.3 • Published 8 years ago

war v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

WAR

Write cucumber style tests in mocha without the overhead of gherkin:

var given = require('war');
var scenario = it;

describe('widget', function(){
  scenario('user checks out', function(){
    return given('a product exists in a users basket', createProductInBasket).
           when('a user checks out', checkoutUser).
           then('the purchase is complete', verifyPurchaseComplete).
           and('the money is credit to the bank account', moneyIsInAccount)
  });
});
0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

9 years ago