Screen Shot 2013-02-22 at 16.21.32

JavaScript Unit Tests: testing built-in jasmine.Matchers

Jasmine is a testing framework for JavaScript. It’s framework agnostic and does not require a DOM. There are few matchers we built-in matchers helping us. Get a full control of them is essential to understand the basic¬†functionality.

 

 
jasmine unit-test:

http://jsfiddle.net/leolanese/HQsME/

 

jasmine complete list of matchers:

http://pivotal.github.com/jasmine/jsdoc/symbols/jasmine.Matchers.html

 

 Working with jasmine: Testing Leo Fibonacci Numbers using Jasmine.

http://leolanese.com/blog/2012/08/21/fibonacci/

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *