An open API service indexing awesome lists of open source software.

https://github.com/cvigueras/point-of-sale-kata

Create a simple app for scanning bar codes to sell products in TDD.
https://github.com/cvigueras/point-of-sale-kata

csharp tdd tdd-kata testing

Last synced: 10 months ago
JSON representation

Create a simple app for scanning bar codes to sell products in TDD.

Awesome Lists containing this project

README

          

# point-of-sale-kata

Create a simple app for scanning bar codes to sell products.

#Requirements

* 1. Barcode ‘12345’ should display price ‘$7.25’.
* 2. Barcode ‘23456’ should display price ‘$12.50’.
* 3. Barcode ‘99999’ should display ‘Error: barcode not found’.
* 4. Empty barcode should display ‘Error: empty barcode’.
* 5. Introduce a concept of total command where it is possible to scan multiple items. The command would display the sum of the scanned product prices.