integration test library for Node.js that hooks into mocha (and others) to provide a sync api for controlling browsers
CoffeeScript Makefile JavaScript
Latest commit 82e3eb0 Nov 9, 2017 @dbushong dbushong Merge pull request #193 from groupon/deprecate
docs: deprecate use of this module & point at docs

README.md

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