How-to Getting-Started with Mocha on Ubuntu 16.04 Xenial Easy Guide

February 18th, 2017 by thelinuxevangelist

Mocha QuickStart for Ubuntu 16.04 Xenial




Hello Ubuntu User! This Linux Tutorial Shows You How-to Install and Getting-Started with Mocha for Javascript Testing on Ubuntu 16.04 Xenial Xerus LTS 32/64bit 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 QuickStart on Ubuntu - Open Terminal Shell Emulator
  2. How-to Install 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
(Visited 2 times, 1 visits today)
Share on Tumblr

Tags: , , , , , , , , , , , , , , , , ,


Comments are disabled