Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

sorellabs/specify-dsl-bdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

specify-dsl-bdd

NPM version Dependencies status Licence Experimental API

BDD EDSL for the Specify framework.

Example

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

Installation

$ npm install specify-dsl-bdd

Licence

Copyright (c) 2013-2014 Origami Tower.

This module is part of the Specify framework, and released under the MIT licence.

About

BDD EDSL for the Specify framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published