npm.io
0.4.0 • Published 5 years agoCLI

ember-test-audit

Licence
MIT
Version
0.4.0
Deps
4
Size
11 kB
Vulns
0
Weekly
0

Ember Test Avg

Once upon a time I wanted more insight into how long my tests were taking.

Usage

npx ember-test-audit <iterations: 1> <filter: ''>

JSON output

npx ember-test-audit --json

This will generate a high-level JSON report with test counts and duration in milliseconds:

{
  "passes": 64,
  "failures": 0,
  "flaky": 0,
  "duration": 10016
}
Report output path

You can choose where the report will be generated, otherwise the default is test-timings-[timestamp].

npx ember-test-audit --output report.txt

Alpha software

This worked for my test suite, but it hasn't exactly been battle-hardened yet.