Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ncpatro/javascript-unit-testing-with-mocha

Unit test using Mocha and Chai
https://github.com/ncpatro/javascript-unit-testing-with-mocha

chai javascript mocha unit-test

Last synced: 3 months ago
JSON representation

Unit test using Mocha and Chai

Awesome Lists containing this project

README

        

# javascript-unit-testing-with-mocha
code about JavaScript Unit test with Mocha, Chai, Sinon

# Setup
* Install [Nodejs](http://nodejs.org) >= v6.10.3
* Install Mocha by running the command `$ npm install --global mocha`
* Clone this Project and navigate to the javascript-unit-testing-with-mocha/xx directory in command line (xx is like 01)
* Run `npm install` to install all dependencies from package.json
* Run `npm test` to run all test specs.
OR
* RUN `bash src/bash/install-n-run-them-all.sh`