jouni-kantola / mocha-stackdriver-reporter

Mocha reporter using the Google Cloud logging API
MIT License
0 stars 1 forks source link

Include stats similar to json reporter #13

Open jouni-kantola opened 3 years ago

jouni-kantola commented 3 years ago

Compare with https://github.com/mochajs/mocha/blob/738a57574f3eb82ba2844c8a512cafec974ed5ab/lib/reporters/json.js#L58-L70

jouni-kantola commented 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.