Lecture 03 - Agile Models - XP
Lecture 03 - Agile Models - XP
Engineering
Chapter 3
Software Engineering, A Practitioner’s Approach, Pressman R.
S.& Maxim B. R., 7th Edition, McGraw-Hill, 2015.
1
Recap
Agile Models
XP Programming
Agile Development
4
Common Fears for
Developers
The project will produce the wrong product.
The project will produce a product of inferior
quality.
The project will be late.
We’ll have to work 80 hour weeks.
We’ll have to break commitments.
We won’t be having fun.
What is
“Agility”?
Effective (rapid and adaptive) response to change
Effective communication among all stakeholders
Drawing the customer onto the team
Organizing a team so that it is in control of the work
performed
Yielding …
cards) cards
For difficult design problems, suggests the
First, you select the article that you want from a displayed list.
You
then have to tell the system how you will pay for it - this can either
be through a subscription, through a company account or by credit
card.
After this, you get a copyright form from the system to fill in and,
when you have submitted this, the article you want is downloaded
onto your computer .
21
XP and change
Test-first development.
Incremental test development from scenarios.
User involvement in test development and validation.
Automated test harnesses are used to run all component
tests each time that a new release is built.
Test case description
Input:
A string representing the credit card number and two integers representing
the month and year when the card expires
Tests:
Check that all bytes in the string are digits
Check that the month lies between 1 and 12 and the
year is greater than or equal to the current year
.
Using the first 4 digits of the credit card number
,
check that the card issuer is valid by looking up the
card issuer table. Check credit card validity by submitting the card
number and expiry date information to the card
issuer
Output:
OK or error message indicating that the card is invalid
Test-first development