| 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 |
| Scenario | Steps | Started | Duration | Result |
|---|---|---|---|---|
| Adding numbers | 3 | 01:24:33 | 2s 518ms | |
| Multiplying numbers (2 examples) | 2 | 01:24:36 | 4s 261ms |