Skip to content

orieken/mocha-ui-bdd-meta

Repository files navigation

mocha-ui-bdd-meta

Mocha BDD UI with Metadata

Node.js CI

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 () {
      // ...
    });
  });
});

About

Mocha BDD UI with Metadata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published