1.0.2 • Published 4 years ago

mocha-order-tests v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

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.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago