O'Reilly logo
  • Aaron Sumner thinks this is interesting:

Given my account has been credited with $100​ When I withdraw $20​ Then $20 should be dispensed»When I wait for all the transactions to be processed​ Then the balance of my account should be $80


Cover of The Cucumber Book, 2nd Edition


Scenarios can have multiple Whens