English 中文(简体)
JasmineJS - Environment Setup
  • 时间:2024-09-17

JasmineJS - Environment Setup


Previous Page Next Page  

In this chapter, we will discuss the step-by-step procedure of how to set up a Jasmine based BDD testing apppcation.

Step 1 − Go to the official website of jasmine https://jasmine.github.io/

Official Site

Step 2 − Cpck on any of the version pnk. 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 cpck 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 apppcation project in your favorite IDE and add this downloaded pbrary files into the apppcation. Here, we have used netbeans IDE. Following is the Directory structure of our apppcation after adding Jasmine framework.

Project

Our environment setup is done. Now our apppcation is ready to be tested by Jasmine framework.

Advertisements