benderjs-jasmine

0.3.1 • Public • Published

benderjs-jasmine

Adapter for Jasmine testing framework for Bender.js.

Installation

npm install benderjs-jasmine

Usage

Add benderjs-jasmine to the plugins array in the bender.js configuration file:

var config = {
    applications: {...}
 
    browsers: [...],
 
    plugins: ['benderjs-jasmine'], // load the plugin
 
    tests: {...}
};
 
module.exports = config;

Set jasmine as a framework for entire project or a specific tests group:

var config = {
    applications: {...}
 
    browsers: [...],
 
    framework: 'jasmine', // use for entire project
 
    plugins: ['benderjs-jasmine'],
 
    tests: {
        Foo: {
            basePath: '',
            framework: 'jasmine' // or use for a specific tests group
            paths: [...]
        }
    }
};
 
module.exports = config;

Features

  • single test execution

License

MIT, for license details see: LICENSE.md.

Package Sidebar

Install

npm i benderjs-jasmine

Weekly Downloads

1

Version

0.3.1

License

MIT

Last publish

Collaborators

  • cksource