mocha-bdd-when

v0.2.1
Allows to execute tests conditionally.
mocha when bdd test

Build Status Dependencies devDependencies NPM version

mocha-bdd-when

Allows to execute tests conditionally

How to use

var when = require('mocha-bdd-when');

when(true).describe('Test Suite', function () {
    when(false).it('should do something', function () {
        // ...
    });
});
npm i mocha-bdd-when

Metadata

  • MIT
  • >=0.10.17
  • Mathias Schreck
  • released 12/5/2014

Downloads

Maintainers