integration test library for Node.js that hooks into mocha (and others) to provide a sync api for controlling browsers
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib Fix repl after testium-core switch Nov 14, 2015
src Fix repl after testium-core switch Nov 14, 2015
test test: fixup stale tests Nov 8, 2017
.gitattributes hide js diff locally and on github Jul 6, 2014
.gitignore More verbose and hopefully more helpful error messages Nov 4, 2014
.testiumrc Move to testium-example-app Oct 13, 2015
.travis.yml test: don't bother testing on < 4.x Nov 8, 2017
API.md docs: also reference api docs from API.md Nov 8, 2017
CHANGELOG.md v3.3.1 Nov 14, 2015
CODE_OF_CONDUCT.md add code of conduct Jun 22, 2015
CONTRIBUTING.md add code of conduct Jun 22, 2015
LICENSE update license info Mar 4, 2014
Makefile Switch to testium-core and -driver-sync Oct 13, 2015
README.md
cli.js Make testium actually install cleanly Oct 25, 2014
mocha.js Use testium-mocha Oct 19, 2015
package.json v3.3.1 Nov 14, 2015

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