Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

A WebdriverIO v4 plugin. Adapter for QUnit testing framework.

License

Notifications You must be signed in to change notification settings

webdriverio-boneyard/wdio-qunit-framework

Repository files navigation

WDIO QUnit Framework Adapter

A WebdriverIO plugin. Adapter for QUnit testing framework.

Installation

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.

Configuration

Following code shows the default wdio test runner configuration...

// wdio.conf.js
module.exports = {
  // ...
  framework: 'qunit',

  qunitOpts: {
    reorder: false
  }
  // ...
};

qunitOpts Options

Options will be passed directly to QUnit.config. See the full list of QUnit options at QUnit.config docs.

Example

See wdio-qunit-sample for a full test example setup with grunt.

Development

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.

About

A WebdriverIO v4 plugin. Adapter for QUnit testing framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published