testium-mocha
Mocha integration for testium
Last updated 22 days ago by groupon .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install testium-mocha 
SYNC missed versions from official npm registry.

Testium: Mocha Build Status

Testium integration for mocha.

  • Minimal footprint, just add one before hook
  • Can launch your app, selenium/phantomjs for you
  • Automatically takes snapshots of screen & html source on failure

This project is a safe and inclusive place for contributors of all kinds. See the Code of Conduct for details.

Install

npm install --save-dev testium-mocha testium-driver-sync

Usage

// test/my-test.js
var browser = require('testium-mocha').browser;

describe('testium-mocha - the basics', function() {
  before(browser.beforeHook());

  it('can load a page', function() {
    browser.navigateTo('/index.html');
  });
});

Run the above test using mocha test/my-test.js.

Current Tags

  • 5.0.2                                ...           latest (22 days ago)

14 Versions

  • 5.0.2                                ...           22 days ago
  • 5.0.1                                ...           5 months ago
  • 5.0.0                                ...           9 months ago
  • 4.0.0                                ...           10 months ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 12
Dependencies (4)
Dev Dependencies (15)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |