Open jouni-kantola opened 3 years ago
@Miscreancy: I noticed your fork. The built-in stats looks like valuable details to include when reporting test results. Aligning the functionality with the JSON reporter seems like the way to go.
Bit of background to the current reported results:
We've been running smoke tests with mocha
, puppeteer
and mocha-stackdriver-reporter
against web and API from a cloud function. That gave us indirect timings. With that said, a more detailed report makes sense.
Compare with https://github.com/mochajs/mocha/blob/738a57574f3eb82ba2844c8a512cafec974ed5ab/lib/reporters/json.js#L58-L70