পৃষ্ঠাসমূহ

.

Search Your Article

Total Pageviews

Thursday, February 23, 2017

JasmineJS - Overview

Jasmine is an open-source JavaScript framework, capable of testing any kind of JavaScript application. Jasmine follows Behavior Driven Development (BDD) procedure to ensure that each line of JavaScript statement is properly unit tested. By following BDD procedure, Jasmine provides a small syntax to test the smallest unit of the entire application instead of testing it as a whole.

Why Use Jasmine?

Following are the advantages of using Jasmine over other available JavaScript testing frameworks −
  • Jasmine does not depend on any other JavaScript framework.
  • Jasmine does not require any DOM.
  • All the syntax used in Jasmine framework is clean and obvious.
  • Jasmine is heavily influenced by Rspec, JS Spec, and Jspec.
  • Jasmine is an open-source framework and easily available in different versions like stand-alone, ruby gem, Node.js, etc.

How to Use Jasmine?

Jasmine is very easy to implement in any kind of development methodology. All you need to download is the standalone library files from the official website http://jasmine.github.io/ and implement the same in your application.
The detailed environment setup will be described in the next chapter named “Environment setup”. Once you successfully download and unzip the zip file, then you will find the following sub-folders inside that zip file.
Zip File

No comments:

Post a Comment