mocha-order-tests
Order your mocha test efficiently.
Last updated 5 months ago by dherault .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mocha-order-tests 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.2                                ...           latest (5 months ago)

6 Versions

  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |