- JasmineJS - Spies
- JasmineJS - afterEach()
- JasmineJS - beforeEach()
- JasmineJS - Exception Check
- JasmineJS - Not a Number Check
- JasmineJS - Inequality Check
- JasmineJS - Null Check
- JasmineJS - Sequential Check
- JasmineJS - Boolean Check
- JasmineJS - Equality Check
- JasmineJS - Skip Block
- JasmineJS - Matchers
- JasmineJS - Building Blocks of Test
- JasmineJS - BDD Architecture
- JasmineJS - Writing Text & Execution
- JasmineJS - Environment Setup
- JasmineJS - Overview
- JasmineJS - Home
JasmineJS Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
JasmineJS - Overview
Jasmine is an open-source JavaScript framework, capable of testing any kind of JavaScript apppcation. Jasmine follows Behavior Driven Development (BDD) procedure to ensure that each pne of JavaScript statement is properly unit tested. By following BDD procedure, Jasmine provides a small syntax to test the smallest unit of the entire apppcation 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 pke 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 pbrary files from the official website
and implement the same in your apppcation.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.
Advertisements