@tractor-plugins/mocha-specs
tractor plugin for creating tests with Mocha
Last updated a year ago by phenomnomnominal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @tractor-plugins/mocha-specs 
SYNC missed versions from official npm registry.

@tractor-plugins/mocha-specs

Plugin for tractor for creating E2E tests with Mocha.

npm version

How to install

npm install @tractor-plugins/mocha-specs --dev

Config

// tractor.conf.js
module.exports = {
    // ...
    mochaSpecs: {

    },
    // ...
};

For more information see here

Development

To set up development, just run yarn from the root of the repository. You can then run the following commands from within the directory, or use lerna run with --scope="@tractor-plugins/mocha-specs.

Build

To build the whole package:

yarn build

Test

To run unit tests:

yarn test
yarn cover # with coverage

To run end-to-end tests:

yarn tractor:test # in one tab
yarn test:e2e # in another tab

To run end-to-end tests in CI mode:

yarn test:e2e:ci # handles the starting and killing of the application for testing

To start tractor:

yarn tractor

Current Tags

  • 1.7.8                                ...           latest (3 months ago)
  • 1.7.8-alpha.2                                ...           next (3 months ago)

33 Versions

  • 1.7.8                                ...           3 months ago
  • 1.7.8-alpha.2                                ...           3 months ago
  • 1.7.8-alpha.1                                ...           3 months ago
  • 1.7.8-alpha.0                                ...           3 months ago
  • 1.7.6-alpha.0                                ...           3 months ago
  • 1.7.0                                ...           a year ago
  • 1.7.0-alpha.4                                ...           a year ago
  • 1.7.0-alpha.3                                ...           a year ago
  • 1.7.0-alpha.1                                ...           a year ago
  • 1.7.0-alpha.0                                ...           a year ago
  • 1.5.2                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 0.2.5                                ...           2 years ago
  • 0.2.4                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (15)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |