Various Methods of Installation
The QA professionals can install and use Mocha JS in a number of ways according to project needs. While using the testing framework for NodeJS, they have option to install Mocha either locally or globally by running specific commands. Also, they can run specific commands to set up Mocha in the client-side and run tests directly in the web browser.
Supports Asynchronous Testing
Provides a Variety of Reporters
While using Mocha, the developers have option to choose from a wide range of reporters. But Mocha reporters adjusts to fit the terminal widow. The default Mocha reporter displays the output based on the hierarchy of test cases. However, the testing professionals also have option to choose Mocha reporters like dot matrix, nyan, tap, landing strip, list, progress and JSON. The varying Mocha reporters help testing professionals to monitor test case executions and check the output.
Runs in the Web Browser
Works in both TDD and BDD Environments
Leave a Reply