O'Reilly logo

Jasmine Cookbook by Munish Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required