0.4.0 • Published 5 years ago
ember-test-audit v0.4.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 --jsonThis 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:warning: Alpha software
This worked for my test suite, but it hasn't exactly been battle-hardened yet.