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

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.