Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 396 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 396 Bytes

Checkout Kata

To run tests: sbt test

Potential future enhancements

  • Create a user interface for the checkout
  • As part of UI work, create a helper class to convert arbitrary user input into an Item, and handle invalid input.
  • Move the currency formatter out of the checkout class itself, and into the helper class
  • More flexible special offers, e.g. "Spend £X, get £Y off"