i am currenty studying BDD, but i have a different doubt, can you tell me if the following is right or not:
- 1) Feature = it means "the problem" isn't it?
- 2) Scenario = the way (the beahaviour) to resolve the feature
I find very difficult to find the "given when then" sentences. In this problem for example:
As a student
I would like / i want to calculate the rectangle perimeters if i have 2 number Or the circle area if i have one
So i don't make mistake with the computation
I wrote down the scenario, is that correct?
Given 1 number
Or 2 number
When i have 1 positive number
Or 2 positive number
Then calculate the area
Or the Perimeters