Define, Share and Automate your tests / specifications

Dealing with scenario

The easiest way to deal with a scenario is to use a switch statement on an iteration field
 
This lets you run different business rules depending of this field value 
 
/sequence
[operation |  amount |  balance ? |
| deposit  |    2000 |     2000   |
| deposit  |     500 |     2500   |
| withdraw |     700 |     1800   |

 Jspresso Tmar © 2013 - 2015