Writing useful specs by analyzing the test requirements

Generally, we develop the test requirements from PRD, SRS, Use Cases, or User Stories. Test requirements are developed in the form of test scenarios or test cases. In this recipe, we will define test requirements from the User Story in the form of test cases. Also, you will learn how to design Jasmine Specs for the test cases.

Let's assume that you are working with <ABC> Money Exchange Company. As per the new requirements, a component (or module) needs to be developed, which manages and converts currency across the continents, that is, Asia, Europe, North America, South America, and Africa. The company follows the agile methodology to design and develop their products. You are playing the ...

Get Jasmine Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.