[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Node.js and Mocha framework - app trying the mocha test-framework and chai.

Notifications You must be signed in to change notification settings

esl4m/node_mocha_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node_mocha_test

Node.js and Mocha framework - app trying the mocha test-framework and chai.

Steps to install mocha and chai

$ mkdir node_mocha

$ cd node_mocha

$ npm init

$ npm install mocha --save

$ npm install chai --save

To test your code and watch the test:

git clone git@github.com:esl4m/node_mocha_test.git

cd to the folder

$ mocha tests --recursive --watch

or

$ ./node_modules/mocha/bin/mocha

or to test one testing file :

$ ./node_modules/mocha/bin/mocha tests/test.js

About

Node.js and Mocha framework - app trying the mocha test-framework and chai.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published