How to Getting Started With Mocha on Ubuntu 16.04 Xenial Easy Guide

February 18, 2017 | By the+gnu+linux+evangelist.

Mocha Quick Start for Ubuntu 16.04 Xenial

Hi! The Tutorial shows you How to Install and Getting-Started with Mocha for Javascript Testing on Ubuntu 16.04 Xenial Xerus LTS 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.

Mocha Quick Start on Ubuntu - Featured
  1. Open a Terminal Shell emulator window
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    Mocha Quick Start on Ubuntu - Open Terminal Shell Emulator
  2. How to Install the Latest Node.js on Ubuntu Linux

    Installing Node.js on Ubuntu
  3. Installing Mocha by Npm:

    npm install mocha

    Or otherwise:

    sudo npm install mocha
  4. Getting-Started with Mocha First, Steps

    Mocha Quick Start Guide

QuickChic Theme • Powered by WordPress