benderjs-qunit

0.3.0 • Public • Published

benderjs-qunit

Adapter for QUnit testing framework for Bender.js.

Installation

npm install benderjs-qunit

Usage

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

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

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

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

Features

  • single test execution

Todo

  • API to ignore a specific test/define a list of test names to ignore from the test file
  • ???

License

MIT, for license details see: LICENSE.md.

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i benderjs-qunit

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • cksource