aria-mocha
TypeScript icon, indicating that this package has built-in type declarations

0.7.3 • Public • Published

Coverage Status npm version License: MIT

aria-mocha

Zero configuration CLI testing tool for nodejs and browser base

Installation

  npm install --save-dev aria-mocha

CLI Options

  Usage
    $ aria-mocha [options]

  Options
    -d, --dir           Directory folder of spec or test files. (default: src)
    -t, --threshold     Enable the thresholds
    -r, --reporters     Output reporters.  (default lcov,html,text-summary)
    --check-coverage    Enable coverage  (default false)
    --include-dir       Directory folder source (default: src)
    --browser           Enable the browser base testing  (default false)
    -v, --version       Displays current version
    -h, --help          Displays this message

Quick Start

 aria-mocha 
  --dir demo \
  --check-coverage \
  --include-dir demo \
  --reporters lcov,html,text-summary \
  --threshold statements=50,functions=50,branches=50,lines=50

Package Sidebar

Install

npm i aria-mocha

Weekly Downloads

162

Version

0.7.3

License

MIT

Unpacked Size

39.6 kB

Total Files

6

Last publish

Collaborators

  • aelbore