The Donut Kata is an advanced kata which can help developers become familiar with lesser known APIs of Eclipse Collections.
The domain for the kata is a Donut Shop. There are several domain
classes that are shared by all of the exercises. These are
DonutType
,
Donut
,
DonutShop
,
Customer
,
Order
and
Delivery
.
Java 8 version:
- There are failing tests in
DonutShopTest.java
- Make the tests pass by following and completing the TODOs in
DonutShop.java
- Make the tests pass by following and completing the TODOs in
Java 10 version (uses Local-Variable Type Inference feature):
- There are failing tests in
DonutShop10Test.java
- Make the tests pass by following and completing the TODOs in
DonutShop.java
- Make the tests pass by following and completing the TODOs in
Kotlin version:
- There are failing tests in
DonutShopTest.kt
- Make the tests pass by following and completing the TODOs in
DonutShop.kt
- Make the tests pass by following and completing the TODOs in
All of the DonutShop
implementations and tests use Eclipse Collections.