Skip to content

Mocha - Overview ​

Overview ​

Overview ​

The UrbanCode Build Mocha plug-in automates JavaScript testing as part of the build process. Use the plug-in run the Mocha tool, point to the location of Mocha test files and where to return test results.

This plug-in includes one step:

Step palette ​

To access this plug-in in the palette, click Quality > Unit Testing > Mocha.

Compatibility ​

The steps in this plug-in run on all supported platforms.

Installation ​

No special steps are required for installation. See Installing plug-ins in UrbanCode.

History ​

Version 2 ​

  • Remove the publish step due to being unusable, and add a new property to Run Test step for specifying the Mocha reporter to use when generating test reports.

Version 1 ​

  • Initial release.