Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ez-bdd

0.6.0 • Public • Published

ez-bdd

Join the chat at https://gitter.im/waxxfetish/ez-bdd

BDD Toolkit

Dependency Status Build Status

Installation

Install in project dependencies

npm install --save ez-bdd

Or if you want to use the module from CLI:

#install globally
npm install -g ez-bdd 

Usage

    //node environment
    var ezBdd = require('ez-bdd'),
        feature = ezBdd.parseGherkin(featureString),
        specString = ezBdd.featureAsSpec(feature);
    //test runner environment
    var ezBdd = require('ez-bdd'),
       ezBdd.allHailThePopupOfDoom() //
           ezBdd.currentUrl()//
           ezBdd.goTo() //
           ezBdd.ui() //
    echo "generate jasmine spec template"
    echo "path-to-jasmine-spec is optional"
    ezbdd path-to-gherkin.feature path-to-jasmine-spec.spec.js  

LICENSE

ez-bdd is available under the following licenses:

  • MIT

install

npm i ez-bdd

Downloadsweekly downloads

87

version

0.6.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar