Mocha test framework¶
Installation and user guide¶
We fully support JSON format for Mochawesome.
We recommend that you use the Mocha JSON output reporter to output JSON documents.
You could also use the JUnit Reporter for Mocha, but this will results in a lot of data loss for your reports. We don't recommend this.
The XUnit reporter is also available. It outputs an XUnit-compatible XML document, often applicable in CI servers. See the JUnit XML page for more info on XML.
By default, it will output to the console. To write directly to a file, use
You can manually import these output file types to Calliope.
Contribute to this documentation¶
Our testing team does not have hands-on experience in setting up a MochaJS testing project. If you have information on MochaJS you think needs to be on this page, contact us.