eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

eXtreme .NET: Introducing eXtreme Programming Techniques to .NET Developers [Electronic resources] - نسخه متنی

Neil Roodyn

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید












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 cart that is in cart

10 minutes

Test for removing null item from cart

10 minutes

Test for removing item from cart that is not in cart

10 minutes

Code to make tests run

20 minutes

User interface to remove items from the cart

15 minutes

Connect user interface to code

10 minutes

Check into source control and integrate with rest of system

5 minutes

Tasks for Story 3: Show Running Total for Cart

Task

Estimated Time

Test for running total being zero when cart is empty

10 minutes

Test for cart with one item in

10 minutes

Test for cart with 1,000 items in

10 minutes

Test for cart with multiples of the same item

10 minutes

Code to make tests run

20 minutes

User interface to display running total of items

15 minutes

in the cart Connect user interface to code

10 minutes

Check into source control and integrate with rest of system

5 minutes


    / 117