JSPM

  • Created
  • Published
  • Downloads 7502
  • Score
    100M100P100Q130757F
  • License MIT

Run mocha tests in parallel

Package Exports

  • mocha-parallel-tests

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mocha-parallel-tests) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Run mocha test suits in parallel

Installation

npm install --save mocha-parallel-tests

Usage

  • mocha-parallel-tests your_test_directory/*
  • mocha-parallel-tests **/*.js

Options

  • --reporter <name> - specify the reporter to use
  • --timeout <n> - set test-case timeout in milliseconds
  • --slow <n> - "slow" test threshold in milliseconds

Example

  • make test - runs with default reporter
  • make test -R dot --timeout 60000 --slow 30000 test/test - runs with options