1.0.2 • Published 9 years ago

betterer v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

betterer

Build Status Coverage Status Code Climate

Proof of concept for tests that read better(er)

Install

npm i betterer

Basic usage

var better = require('./betterer.js').better;

// must export a doTheRightThing function, typically with at least one `it`
var yourTests = require('./yourTests.js');

var o_o = describe;

o_o('using your thing', function() { var o_O = yourTests;
  o_o('the right way', better('do the right thing', o_O));
});

The string 'do the right thing' is mapped to the doTheRightThing function exported by yourTests.js.

See more

1.0.2

9 years ago

1.0.0

9 years ago