Skip to content

integration test library for Node.js that hooks into mocha (and others) to provide a sync api for controlling browsers

License

Notifications You must be signed in to change notification settings

nodejs-programmer/testium

 
 

Testium travis-ci build

Testium is a testing library focused on providing a simple, but effective, tool for testing your web applications in different browsers (via Selenium) and headlessly (via PhantomJS).

Usage

This particular module bundles a few different testium libraries together in a fashion that is no longer recommended. Please instead use a testing interface modules + one of the testium drivers, e.g:

https://github.com/testiumjs/testium-mocha and https://github.com/testiumjs/testium-driver-wd

$ npm install --save-dev testium-mocha testium-driver-wd
const { browser } = require('testium-mocha');

describe('something', () => {
  before(browser.beforeHook({ driver: 'wd' }));

  it('works', () => browser.loadPage('/'));
});

API Docs

For full API documentation, see the Testium API Docs

About

integration test library for Node.js that hooks into mocha (and others) to provide a sync api for controlling browsers

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 92.7%
  • Makefile 3.9%
  • JavaScript 3.4%