Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ncpatro/javascript-unit-testing-with-mocha
- Owner: ncpatro
- Created: 2018-03-04T15:33:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-05-02T13:49:17.000Z (almost 3 years ago)
- Last Synced: 2024-11-05T20:05:45.402Z (3 months ago)
- Topics: chai, javascript, mocha, unit-test
- Language: JavaScript
- Homepage: https://codeburst.io/javascript-unit-testing-using-mocha-and-chai-1d97d9f18e71
- Size: 8.79 KB
- Stars: 103
- Watchers: 9
- Forks: 76
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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`