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