Unit Testing in Javascript

There are basically 3 decisions for a dev implementing Unit Testing in JS.
1. Chosing a Framework
2. Chosing an assertion Library
3. Chosing a Helper Library

1.For Testing


2. Assertion Libraries:
  1. Should
  2. Chai
  3. CoffeeScript
  4. YUI Port
  5. expect.js
  6. assert.js
  7. jsShould

Underscore:


MomentJS:


Mocha:
It is open source framework.
started in Node
Supports both BDD and TDD.
Supports both Client and Server side testing.
Supports Asynch testing



Comments

Popular posts from this blog

ReactJS

AngularJS - Experiencing new era