5.0.7 • Published 2 years ago

testium-mocha v5.0.7

Weekly downloads
11
License
BSD-3-Clause
Repository
github
Last release
2 years ago

nlm-chat nlm-github nlm-node nlm-version

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.

5.0.6

2 years ago

5.0.5

2 years ago

5.0.7

2 years ago

5.0.4

3 years ago

5.0.3

3 years ago

5.0.2

4 years ago

5.0.1

4 years ago

5.0.0

5 years ago

4.0.0

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

6 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago