Chapter 9. Developing JavaScript Apps Using Jasmine – a Real-time Scenario

In this chapter, we will cover:

  • Defining Jasmine specs corresponding to a user story
  • Implementing Jasmine specs with Web/HTML
  • Implementing Jasmine tests with the Data-Driven approach
  • Creating Jasmine tests for a change request

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 ...

Get Jasmine Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.