Understanding Our Goal

Our goal is to write a Java library that calculates the cost of your groceries at the supermarket. Some people might call this a checkout.

We have an incredible vision of what this checkout will one day power: a traditional checkout till, a portable scanner that you carry around while you shop, or even a cloud-based service that uses the camera on your mobile phone to scan the barcodes. We’re pragmatic business people, though, so the first release of our library has to be as simple as possible. The first release will be a Java library. It will take two inputs: the prices of available items and the notification of items as they are scanned at the checkout.

The checkout will keep track of the total cost. So, for example, ...

Get The Cucumber for Java Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.