Chapter 4. Designing Specs from Requirement

In this chapter, we will cover:

  • Writing useful specs by analyzing the test requirements
  • Implementing the Jasmine test corresponding to the specs
  • Implementing Acceptance Criteria to the Jasmine test
  • Organizing Jasmine specs into groups and subgroups

Introduction

Whenever, there is a need to design and develop a new application or new component, we gather functional and nonfunctional requirements from various sources. For example, we collect the system/product requirements by reviewing and analyzing existing processes, interviewing or brainstorming with stakeholders, or by conducting the requirements workshop. Thereafter, to put together all the functional and nonfunctional requirements, we develop corresponding ...

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.