Appendix I. Guideline Solutions for Task Breakdown Exercises in Chapter 3
Exercise 3-4: The Shopping Cart
This exercise is reasonably straightforward. You answers should look something like this.
Stories:
Add item to shopping cart
Remove item from shopping cart
Show running total for cart
Tasks for Story 1: Add Item to Shopping Cart | |
---|---|
Task | Estimated Time |
Test for adding normal item to cart | 10 minutes |
Test for adding null item to cart | 10 minutes |
Test for adding non existent item to cart | 10 minutes |
Code to make tests run | 20 minutes |
User interface to add items | 15 minutes |
Connect user interface to code | 10 minutes |
Check into source control and integrate with rest of system | 5 minutes |
Tasks for Story 2: Remove Item from Shopping Cart | |
---|---|
Task | Estimated Time |
Test for removing item from ... |
Get eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers 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.