@rnd7/rum-tester
Rumbullion ES6 test-runner
Last updated a year ago by rnd7 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rnd7/rum-tester 
SYNC missed versions from official npm registry.

rum-tester

Rumbullion ES6 test-runner. Basically a wrapper around mocha

Install

I prefer installation per package. But you can also install it global to link the make-rum command systemwide.

npm i -D @rnd7/rum-tester

Run

Configure it within the package.json file of your project. If present the directory setting in the rum.tester config will define the entry point otherwise it defaults to 'test'.

{
  "name": "myPackage",
  "rum": {
    "tester": {
      "directory": "test"
    }
  },
  "scripts": {
    "test": "test-rum"
  },
  "devDependencies": {
    "@rnd7/rum-tester": "^1.0.0"
  }
}

And afterwards you can run the script using

npm test

Or execute it via npx from your project root, while it still uses the package.json for configuration

npx test-rum

You might also invoke it by poiting node towards the bin js, though it is only recommended for development purposes or to test the rum-tester using rum-tester.

node bin/test-rum.js

License

See the LICENSE file for software license rights and limitations (MIT).

Current Tags

  • 1.0.20                                ...           latest (a year ago)

3 Versions

  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |