I would add two number
#output --- what to give here as per OOPSI model
#process --- what to give here as per OOPSI model
Scenario outline:Addition
Given: Add two number
When:Add <number1>
And: Add <number2>
Then : Result <answer>
Examples: Data values
| number1 | number2 | answer |
| 1 | 2 | 3 |
| 4 | 4 | 8 |
The above feature file is for testing the addition of two numbers are correct or not. However without following this oopsi model it is working fine. I want to maintain it to oopsi model. What will we have to write in outputs and process to run the code exactly.
Aucun commentaire:
Enregistrer un commentaire