mocha-order-tests

1.0.2 • Public • Published

mocha-order-tests

Order your mocha test efficiently.

Installation

npm i --save-dev mocha-order-tests

Usage

First create a .tests-order.json file at the root of your project to specify the order in which tests should be ran:

[
  "unit/**/*",
  "integration/**/*",
  "acceptance/**/*"
]

Then require the module when launching mocha:

"test": "mocha --require mocha-order-tests"

Your tests will run in the given order.

License

MIT.

Readme

Keywords

Package Sidebar

Install

npm i mocha-order-tests

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • dherault