DingoEatingFuzz / ember-test-audit

Runs your Ember test suite N times, averaging test time durations and giving you a report.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Runs your Ember test suite N times, averaging test time durations and giving you a report.


Languages

Language:JavaScript 100.0%