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.
- Work one scenario at a time, in order.
- Write unit tests as needed.
- Refactor along the way to keep the code clean and to reflect the domain.
||use this markup:
(Supported languages: java, cpp, csharp, c, python.)
|a method or class name