79343216

Date: 2025-01-09 15:46:25
Score: 1
Natty:
Report link

Update from future (2025):

You can simply generate the mocha report as JSON, which will include all the failed and successful ones (even the file name and titles of failing/successful cases - and not just their count).

mocha --reporter=json --reporter-option output=filesData.json testCases.js

You can then read this JSON output and do the needful (eg. exporting to monitoring server)

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abhinav Saini