01.02.2013 Views

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

Software Development Cross Solution - Index of - Free

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

test before code<br />

Test FIRST, not last<br />

Instead <strong>of</strong> trying to retr<strong>of</strong>it testing onto an existing project, let’s look<br />

at a project from the ground up using a new technique, test-driven<br />

development, and write your code with testing in mind right from the start.<br />

Starbuzz C<strong>of</strong>fee has been selling gift cards for several months, but now they<br />

need a way to accept those gift cards as payment for their drinks. Starbuzz<br />

already knows how their page should look, so your job is to focus on the design<br />

and implementation <strong>of</strong> the gift card ordering system itself.<br />

Customers can use a gift<br />

card to purchase drinks<br />

at the new web kiosks in<br />

Starbuzz stores.<br />

276 Chapter 8<br />

Let’s start with<br />

this task...<br />

Task 1<br />

Title:<br />

Preorder your c<strong>of</strong>fee<br />

with a gift card<br />

Select your c<strong>of</strong>fee preferences<br />

from the options, enter your gift card number,<br />

name, preferred store, and click submit to get a<br />

confirmation number, remaining balance, and<br />

estimated time when it will be ready for pickup.<br />

Description:<br />

Task 4<br />

Task 2<br />

Priority: Estimate:<br />

Capture order info,<br />

gift card info, and<br />

receipt info.<br />

Download at WoweBook.Com<br />

5<br />

40 6<br />

Task 3<br />

mplement DB backend<br />

for gift cards, drink<br />

info, customer info, and<br />

receipt<br />

Implement business<br />

logic to process and<br />

store orders.<br />

2<br />

Connect order<br />

processor to web site.<br />

1<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!