BDD EDSL for the Specify framework.
var core = require('specify-core');
// or .promise(core) if using Promises/A+, .future(core) if using Data.Future
var spec = require('specify-dsl-bdd').node(core);
var test = spec('Root spec', function(it, spec) {
it('Should succeed', function(){ });
spec('More things', function(it, spec) {
this.async('Should fail', function(done) {
done(new Error());
})
})
})
$ npm install specify-dsl-bdd
Copyright (c) 2013-2014 Origami Tower.
This module is part of the Specify framework, and released under the MIT licence.