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

Defining Jasmine specs corresponding to a user story

In this recipe, we will learn how to identify and define the Jasmine specs for a user story.

Let's assume you are working with a United States company called <ABC> Inc. As per the Federal/State government, every employee of the company has to pay tax on their income. Currently, you are developing a utility/web page with JavaScript to evaluate tax/TDS for individuals. There are different business rules (that is, tax brackets, standard deduction, child tax credit, and so on) that exist for evaluating tax/TDS for every individual.

"As a single taxpayer, I want to evaluate or estimate Tax/TDS on my income so that I can do my financial planning effectively."

So, based on the information provided in ...

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