The instructions in the post are for Jasmine standalone which is browser-based environment for running the specifications aka testcases. Jasmine standalone allows you to run the specs using browser-based Jasmine SpecRunner. In later posts, we will see other environments like Node.js , command line etc.
Steps to setup Jasmine standalone in your project:
To install Jasmine standalone on your computer, you need to download jasmine standalone distribution.
Pick the latest version and the format. For Windows operating system, you can download the .zip format. For Linux operating system, you can download the .tar.gz.
Create a Jasmine directory in your project.
Explode or unpack the distribution and move it under to your project folder.
The folder structure of the standalone tool is shown in the picture:
Jasmine standalone directory structure
The lib folder contains the framework files.
The src folder in the picture contains the Application java script source files
that you want to test.