I would like to generate a simple test report in Excel.

My automation is using Appium with chai mocha, and successfully reports the results of my 2 test cases to the command line.

How can I send my test results to an Excel file?

1 Answer 1


By default, as per the Mocha documentation on reporters, there is no Excel reporter. There are some CLI reporters (Spec, Dot, etc) and there are HTML and JSON reporters.

A quick Google search shows there is an NPM package called Mocha-Insights-Reporter that can generate Excel files.

Since Mocha is open-source and has documentation, your other option is to create your own Excel reporter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.