Mocha 2
Should JS Testing Framework
In my previous post we have learnt about MochaJS framework.We will learn ShouldJS in this post. ShouldJS is a behavioral driven test framework. ShouldJS is an expressive framework and makes the test cases simple and keeps it cleaner. In this Demo,”We will learn to use MochaJS with ShouldJS for testing Asynchronous calls”. The ShouldJS can […]
Introducing Mocha js Testing Framework For Node.Js
Mocha is a JavaScript testing framework for running on NodeJS in asynchronous mode. In this demo,”We will learn to install and run Mocha test framework”. The Mocha test framework can be installed using npm install mocha –save-dev command.The following screenshot shows the installation of Mocha framework. To demonstrate Mocha framework we have creates MochaTestDemo project.The […]