Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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.

Install

npm i mocha-order-tests

DownloadsWeekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • avatar