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.
- Host: GitHub
- URL: https://github.com/cvigueras/point-of-sale-kata
- Owner: cvigueras
- License: mit
- Created: 2023-04-04T11:00:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-27T09:53:50.000Z (over 2 years ago)
- Last Synced: 2025-01-05T16:33:14.645Z (11 months ago)
- Topics: csharp, tdd, tdd-kata, testing
- Language: C#
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.