Scenario: Adding numbers |
|
|
Scenario: Multiplying numbers (2 examples) |
|
By the way, did you notice that with Serenity/JS you can use Markdown
to better describe each Feature
and Scenario
?
Given Callie decides to use the Super Calculator
When she adds 19 and 23
Then she should see that the result is 42
Scenario Outline
.
When she multiplies {first} and {second}
Then she should see that the result is {expected}
Examples:
first | second | expected | comment | |
---|---|---|---|---|
-5 | -3 | 15 | Negative numbers | |
6 | 2 | 12 | Positive numbers |