specify-dsl-bdd
Version:
BDD EDSL for the Specify framework.
45 lines (30 loc) • 1.27 kB
Markdown
specify-dsl-bdd
===============
[](https://npmjs.org/package/specify-dsl-bdd)
[](https://david-dm.org/origamitower/specify-dsl-bdd)


BDD EDSL for the [Specify][] framework.
```js
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());
})
})
})
```
```shell
$ npm install specify-dsl-bdd
```
Copyright (c) 2013-2014 [Origami Tower](http://www.origamitower.com).
This module is part of the [Specify framework][Specify], and released under the
[](http://origami-tower.mit-license.org/) licence.
[]: https://github.com/origamitower/specify