node package manager

benderjs-qunit

Adapter for QUnit testing framework for Bender.js

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.