Thursday, February 23, 2017

JasmineJS - Environment Setup

In this chapter, we will discuss the step-by-step procedure of how to set up a Jasmine based BDD testing application.
Step 1 − Go to the official website of jasmine http://jasmine.github.io/

Official Site Step 2 − Click on any of the version link. It is preferable to use the most recent version that is “Edge”. You will be redirected to the homepage of the selected version.
Home Page Step 3 − Go to the Download section of the homepage and click on the standalone release page.
Download Section Step 4 − Once you are redirected to github release page, download the Zip file from there.
Release Page Step 5 − Unzip the downloaded jasmine-standalone-2.4.1 folder. You will see the following folder structure.
Standalone Step 6 − Now Create a web application project in your favorite IDE and add this downloaded library files into the application. Here, we have used netbeans IDE. Following is the Directory structure of our application after adding Jasmine framework.
Project Our environment setup is done. Now our application is ready to be tested by Jasmine framework.

No comments:

Post a Comment