Album Cover

Automating Scenarios Safely Java

Close Preview
Go Signal
Can you make the scenarios run? Come on back when you're finished, and you can see our solution.
The full system is very large and includes sales with all their complexities (payment, coupons, in-store cards, etc...) and also includes an inventory system for the grocery store.
We're going to start with the most important part, the one that produces the revenue, and that is sales.
To start off with, let's make sure that we can scan an item and bring up its price - as per the first scenario.
  1. Work one scenario at a time, in order.
  2. Write unit tests as needed.
  3. Refactor along the way to keep the code clean and to reflect the domain.
| Tweet...
Page rating: | Rate this Page