A WebdriverIO plugin. Adapter for QUnit testing framework.
The easiest way is to keep wdio-qunit-framework
as a devDependency in your package.json
.
{
"devDependencies": {
"wdio-qunit-framework": "~0.0.1"
}
}
You can simple do it by:
npm install wdio-qunit-framework --save-dev
Instructions on how to install WebdriverIO
can be found here.
Following code shows the default wdio test runner configuration...
// wdio.conf.js
module.exports = {
// ...
framework: 'qunit',
qunitOpts: {
reorder: false
}
// ...
};
Options will be passed directly to QUnit.config
. See the full list of QUnit options at QUnit.config docs.
See wdio-qunit-sample for a full test example setup with grunt.
All commands can be found in the package.json. The most important are:
Watch changes:
$ npm run watch
Run tests:
$ npm test
Build package:
$ npm build
For more information on WebdriverIO see the homepage.