Mocha Quick Start for Mint
Hello Mint User! The Tutorial shows you How to Install and Getting-Started with Mocha for Javascript Testing on Mint GNU/Linux.
Mocha is a feature-rich JavaScript Test Framework running on Node.js and in the browser, making asynchronous testing simple and fun.
Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
-
Open a Shell Terminal emulator window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
How to Install the Latest Node.js on Mint Linux
-
Installing Mocha by Npm:
npm install mocha
Or otherwise:
sudo npm install mocha
-
Getting-Started with Mocha First, Steps