O'Reilly logo

eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers by Dr. Neil Roodyn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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:

  1. Add item to shopping cart

  2. Remove item from shopping cart

  3. 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required