mocha-ui-bdd-meta
v0.0.10
Published
Mocha BDD UI with Metadata
Downloads
3
Readme
mocha-ui-bdd-meta
Mocha BDD UI with Metadata
BDD-style interface with meta:
describe('Array', { foo: 'bar' }, function () {
describe('#indexOf()', { baz: 'buz' }, function () {
it('should return -1 when not present', { bux: 'bex' }, function () {
this.meta //? {foo: 'bar', baz: 'buz', bux: 'bex'}
// ...
});
it('should return the index when present', function () {
// ...
});
});
});