ncpatro / javascript-unit-testing-with-mocha

Unit test using Mocha and Chai

Home Page:https://codeburst.io/javascript-unit-testing-using-mocha-and-chai-1d97d9f18e71

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

javascript-unit-testing-with-mocha

code about JavaScript Unit test with Mocha, Chai, Sinon

Setup

  • Install Nodejs >= 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

About

Unit test using Mocha and Chai

https://codeburst.io/javascript-unit-testing-using-mocha-and-chai-1d97d9f18e71


Languages

Language:JavaScript 90.0%Language:Shell 10.0%