Book Image

Jasmine Cookbook

By : Munish Kumar
Book Image

Jasmine Cookbook

By: Munish Kumar

Overview of this book

Table of Contents (16 chapters)
Jasmine Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Introduction


Sometimes, it's not feasible to test an application thoroughly for every change. Also, it is tough to update supporting documents (the requirement document, feature speciation, use cases, user stories, and so on) whenever there are any changes in the code and they become out of date quickly. An ideal approach is required to update the documents, requirements, or specifications on a continuous basis and test the application thoroughly whenever there is any change in the code. Developing the application with Behavior-Driven Development (BDD) is a good methodology. It ensures the quality of code and helps you to keep the specifications updated whenever there is any change in the code. For more information on BDD, refer to Chapter 2, Jasmine with TDD and BDD Processes.

In this chapter, we will learn how to develop JavaScript applications with Web/HTML using Jasmine's BDD framework. Primarily, we will elaborate and focus on the following aspects while developing an application with...