Skip to content

siddhantw/TestDrivenDevelopmentForNodeJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Driven Development using Mocha and Chai frameworks for NodeJS and JavaScript

This repo contains the automated unit tests written using the Mocha and Chai test frameworks for NodeJS and JavaScript.

Installation Instructions

  1. Install a licensed version of WebStorm IDE.
  2. Fork the project and clone it into your directory
  3. Install dependencies: node, mocha, chai, request, sinon, sinon-chai, nyc
    npm install dependency_name
  4. Run tests using following commands:
    cd tests/testfolder/
    mocha *tests.js

Now, sit back and relax!!

or

Write new tests

If you'd like to add more tests to my shared collection, please open a pull request against master branch

Credits

Siddhant Wadhwani

About

Using Mocha and Chai test frameworks for writing automated unit tests for NodeJS and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published