SlideShare a Scribd company logo
Contents
• Overview of system
• Traditional approach vs Agile approach
• Documentation
• User stories
• Planning phase
• Iteration plan
• Task plan
• Release plan
• Team work
• Design phase
• Testing
• Conclusion
University of Gujrat 1
Overview of system
• Hayat is a mobile app which allows users to donate and
request food and objects easily.
• These donations and requests are managed by web app.
University of Gujrat 2
Traditional vs Agile approach
• Our project is done through waterfall approach. Where
development of the software flows sequentially from start
point to end point.
• On the other hand agile is all about increments and
iterations.
• It encourages flexible responses to change.
• And now we revamping project according to agile
approach.
University of Gujrat 3
Documentation
• While following traditional approach we did a
complete comprehensive documentation.
• Agile states that working software is more
important than long documentation.
• While keeping this in mind our 100 and more
pages’ document can be cut short to only dozens of
pages.
• Instead of document we deliver working system to
customers.
• We depend less on our document and focus more
on working system.
University of Gujrat 4
User stories
• Customer writes the few words about requirements
and it is called user story.
Some user stories of project:
• As a user I want to update my profile
• As a user I want to check record of donations
• As a user I want to place donations
• As an admin I want to keep records of riders
University of Gujrat 5
Planning phase
• In waterfall model all the planning was done only
once in planning phase before moving to next stage
which is requirement phase.
Project Scheduling:
• Instead of a planning phase, in XP planning is done
at the start of each development cycle which
usually lasts 2-3 weeks (short cycle) this improves
communication between stakeholder and team.
• Dates for meetings and project reviews are fixed
University of Gujrat 6
Iteration plan
• An iteration is usually 2-3 weeks in length.
• First using concept of spiking we can get idea of
team’s velocity. (3members)
• A user story with 3 points will be completed in 6
days. If the user story is too long or too short, we
will split it
• Splitting story: As a user I want to place donation
• Users can log in.(3points)
• Users can log out. (3points)
• User can place donation. (4points)
University of Gujrat 7
Task plan
• Developer breaks stories into tasks
• Consider stories:
While considering above stories some tasks can be
• UI design of login interface
• UI design of donation form
• Establish connection of login form with firebase
• Review code of donation form
• Test login form
University of Gujrat 8
Release plan
• It consists of 6 iterations developer and customer will
choose date for release.
• Customer pick stories and their rough order in which they
want to implement it.
• Stories must be with in velocity
University of Gujrat 9
Teamwork
• Instead of allotting one module to each member which we
did previously now all members will work on every task so
each understands the system completely (collective
ownership).
• Rabia,Arooj: UI design of mobile app
• Kashaf,Arooj: Firebase design
• Rabia ,Kashaf: UI design Design Phase
University of Gujrat 10
Design phase
• Using traditional approach, we completed design before
implementation the design is final and can’t be change later
while in agile the design in the beginning is kept as simple as
possible.
• Instead of designing whole system we will only focus on the
stories of current iteration.
• keep design simple if login can work with flat files for now
there is no need to design database.
• Code duplication wasn’t considered very much while
following traditional approach but in xp we have to
eliminate duplicate code.
• This can be done by making functions of code which is
needed again and again.
University of Gujrat 11
Cont…
Consider in app:
• Header of app is on every page instead of copying header
code on each page we can simply make header component
and import it where required, changes (add new menu, add
new icons/buttons) can be later easily done in header
component instead of doing on each page.
Refactoring:
• As the system is going to change after each iteration and
new features will be added in order to prevent more bugs
and complexity we will refactor.
• we will continuously perform small transformations in code
to improve efficiency without effecting behavior of system,
perform unit tests to make sure everything is working
accordingly.
University of Gujrat 12
Testing
• While following traditional approach we performed testing
at the end to check if all requirements meet or not, it makes
bug fixing complicated, but now following xp we will adapt
test driven approach.
Test Driven Development:
• In traditional we wrote code first and then test cases against
that code to test it but now we will write test case first.
these test cases will fail first as there will be no code against
it we will then write code which pass these test cases.
University of Gujrat 13
Cont…
Acceptance Tests:
• Only testing is not enough in order to check user stories are
complete we need to write acceptance test which capture
all the details of user stories
• When story will clear all acceptance test only then it will be
considered complete else it will be incomplete and will be
left for next iteration.
• Acceptance test for place donation can be:
• User should be able to place donation from his account
• Only register user should be able to place donation
• User should be able to upload pic of donation And so on
• Story will be only considered complete when all acceptance
tests written against it are passed.
University of Gujrat 14
Conclusion
• Agile approach can improve teamwork and help manage
work burden better that traditional approach.
• The working software can help in understanding system
better by both developer and customer.as all the testing is
performed continuously many bugs can be fixed early
avoiding complexities later
University of Gujrat 15

More Related Content

Similar to Revamping FYP using Agile Methodology.pptx

Lecture3.se.pptx
Lecture3.se.pptxLecture3.se.pptx
Lecture3.se.pptx
Amna Ch
 
Prototype Model
Prototype ModelPrototype Model
Prototype Model
AIJAZAHMADBAHAR
 
Agile Software Development Life Cycle
Agile Software Development Life CycleAgile Software Development Life Cycle
Agile Software Development Life Cycle
UTKARSHSRIVASTAVA235
 
amansingh.docx
amansingh.docxamansingh.docx
amansingh.docx
ammusingh2409
 
Agile development and project management
Agile development and project managementAgile development and project management
Agile development and project management
Vishal Bardoloi
 
3-SE Agility and Process-2.pptx
3-SE Agility and Process-2.pptx3-SE Agility and Process-2.pptx
3-SE Agility and Process-2.pptx
MaryamMahjabeenYouni
 
Agile Development | Agile Process Models
Agile Development | Agile Process ModelsAgile Development | Agile Process Models
Agile Development | Agile Process Models
Ahsan Rahim
 
Student feedback system
Student feedback systemStudent feedback system
Student feedback system
msandbhor
 
From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...
From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...
From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...
VMware Tanzu
 
UX (User Experience) Process, May 2017
UX (User Experience) Process, May 2017UX (User Experience) Process, May 2017
UX (User Experience) Process, May 2017
Gary Coker
 
Pawan111
Pawan111Pawan111
Pawan111
ranjeetdon
 
Agile.pptx
Agile.pptxAgile.pptx
Agile.pptx
Rafeeq T
 
Software development life cycle
Software development life cycleSoftware development life cycle
Software development life cycle
Dina Hanbazazah
 
OOSE UNIT-1.pdf
OOSE UNIT-1.pdfOOSE UNIT-1.pdf
OOSE UNIT-1.pdf
KarumuriJayasri
 
Chapter 2
Chapter 2 Chapter 2
Chapter 2
KaiEnTee1
 
Info dev flexibility in agile
Info dev flexibility in agileInfo dev flexibility in agile
Info dev flexibility in agile
Alyssa Fox
 
Prototype Model
Prototype ModelPrototype Model
Prototype Model
khushi kalaria
 
software Prototyping model
software Prototyping modelsoftware Prototyping model
software Prototyping model
SankeerthanaS1
 
Agileand saas davepatterson_armandofox_050813webinar
Agileand saas davepatterson_armandofox_050813webinarAgileand saas davepatterson_armandofox_050813webinar
Agileand saas davepatterson_armandofox_050813webinar
Roberto Jr. Figueroa
 
Project Life Cycle and Effort Estimation
Project Life Cycle andEffort EstimationProject Life Cycle andEffort Estimation
Project Life Cycle and Effort Estimation
ssuserb7c8b8
 

Similar to Revamping FYP using Agile Methodology.pptx (20)

Lecture3.se.pptx
Lecture3.se.pptxLecture3.se.pptx
Lecture3.se.pptx
 
Prototype Model
Prototype ModelPrototype Model
Prototype Model
 
Agile Software Development Life Cycle
Agile Software Development Life CycleAgile Software Development Life Cycle
Agile Software Development Life Cycle
 
amansingh.docx
amansingh.docxamansingh.docx
amansingh.docx
 
Agile development and project management
Agile development and project managementAgile development and project management
Agile development and project management
 
3-SE Agility and Process-2.pptx
3-SE Agility and Process-2.pptx3-SE Agility and Process-2.pptx
3-SE Agility and Process-2.pptx
 
Agile Development | Agile Process Models
Agile Development | Agile Process ModelsAgile Development | Agile Process Models
Agile Development | Agile Process Models
 
Student feedback system
Student feedback systemStudent feedback system
Student feedback system
 
From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...
From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...
From 10 Deploys Per Year to 4 Per Day at DBS Bank: How Pivotal Platform Can R...
 
UX (User Experience) Process, May 2017
UX (User Experience) Process, May 2017UX (User Experience) Process, May 2017
UX (User Experience) Process, May 2017
 
Pawan111
Pawan111Pawan111
Pawan111
 
Agile.pptx
Agile.pptxAgile.pptx
Agile.pptx
 
Software development life cycle
Software development life cycleSoftware development life cycle
Software development life cycle
 
OOSE UNIT-1.pdf
OOSE UNIT-1.pdfOOSE UNIT-1.pdf
OOSE UNIT-1.pdf
 
Chapter 2
Chapter 2 Chapter 2
Chapter 2
 
Info dev flexibility in agile
Info dev flexibility in agileInfo dev flexibility in agile
Info dev flexibility in agile
 
Prototype Model
Prototype ModelPrototype Model
Prototype Model
 
software Prototyping model
software Prototyping modelsoftware Prototyping model
software Prototyping model
 
Agileand saas davepatterson_armandofox_050813webinar
Agileand saas davepatterson_armandofox_050813webinarAgileand saas davepatterson_armandofox_050813webinar
Agileand saas davepatterson_armandofox_050813webinar
 
Project Life Cycle and Effort Estimation
Project Life Cycle andEffort EstimationProject Life Cycle andEffort Estimation
Project Life Cycle and Effort Estimation
 

Recently uploaded

CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 

Recently uploaded (20)

CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 

Revamping FYP using Agile Methodology.pptx

  • 1. Contents • Overview of system • Traditional approach vs Agile approach • Documentation • User stories • Planning phase • Iteration plan • Task plan • Release plan • Team work • Design phase • Testing • Conclusion University of Gujrat 1
  • 2. Overview of system • Hayat is a mobile app which allows users to donate and request food and objects easily. • These donations and requests are managed by web app. University of Gujrat 2
  • 3. Traditional vs Agile approach • Our project is done through waterfall approach. Where development of the software flows sequentially from start point to end point. • On the other hand agile is all about increments and iterations. • It encourages flexible responses to change. • And now we revamping project according to agile approach. University of Gujrat 3
  • 4. Documentation • While following traditional approach we did a complete comprehensive documentation. • Agile states that working software is more important than long documentation. • While keeping this in mind our 100 and more pages’ document can be cut short to only dozens of pages. • Instead of document we deliver working system to customers. • We depend less on our document and focus more on working system. University of Gujrat 4
  • 5. User stories • Customer writes the few words about requirements and it is called user story. Some user stories of project: • As a user I want to update my profile • As a user I want to check record of donations • As a user I want to place donations • As an admin I want to keep records of riders University of Gujrat 5
  • 6. Planning phase • In waterfall model all the planning was done only once in planning phase before moving to next stage which is requirement phase. Project Scheduling: • Instead of a planning phase, in XP planning is done at the start of each development cycle which usually lasts 2-3 weeks (short cycle) this improves communication between stakeholder and team. • Dates for meetings and project reviews are fixed University of Gujrat 6
  • 7. Iteration plan • An iteration is usually 2-3 weeks in length. • First using concept of spiking we can get idea of team’s velocity. (3members) • A user story with 3 points will be completed in 6 days. If the user story is too long or too short, we will split it • Splitting story: As a user I want to place donation • Users can log in.(3points) • Users can log out. (3points) • User can place donation. (4points) University of Gujrat 7
  • 8. Task plan • Developer breaks stories into tasks • Consider stories: While considering above stories some tasks can be • UI design of login interface • UI design of donation form • Establish connection of login form with firebase • Review code of donation form • Test login form University of Gujrat 8
  • 9. Release plan • It consists of 6 iterations developer and customer will choose date for release. • Customer pick stories and their rough order in which they want to implement it. • Stories must be with in velocity University of Gujrat 9
  • 10. Teamwork • Instead of allotting one module to each member which we did previously now all members will work on every task so each understands the system completely (collective ownership). • Rabia,Arooj: UI design of mobile app • Kashaf,Arooj: Firebase design • Rabia ,Kashaf: UI design Design Phase University of Gujrat 10
  • 11. Design phase • Using traditional approach, we completed design before implementation the design is final and can’t be change later while in agile the design in the beginning is kept as simple as possible. • Instead of designing whole system we will only focus on the stories of current iteration. • keep design simple if login can work with flat files for now there is no need to design database. • Code duplication wasn’t considered very much while following traditional approach but in xp we have to eliminate duplicate code. • This can be done by making functions of code which is needed again and again. University of Gujrat 11
  • 12. Cont… Consider in app: • Header of app is on every page instead of copying header code on each page we can simply make header component and import it where required, changes (add new menu, add new icons/buttons) can be later easily done in header component instead of doing on each page. Refactoring: • As the system is going to change after each iteration and new features will be added in order to prevent more bugs and complexity we will refactor. • we will continuously perform small transformations in code to improve efficiency without effecting behavior of system, perform unit tests to make sure everything is working accordingly. University of Gujrat 12
  • 13. Testing • While following traditional approach we performed testing at the end to check if all requirements meet or not, it makes bug fixing complicated, but now following xp we will adapt test driven approach. Test Driven Development: • In traditional we wrote code first and then test cases against that code to test it but now we will write test case first. these test cases will fail first as there will be no code against it we will then write code which pass these test cases. University of Gujrat 13
  • 14. Cont… Acceptance Tests: • Only testing is not enough in order to check user stories are complete we need to write acceptance test which capture all the details of user stories • When story will clear all acceptance test only then it will be considered complete else it will be incomplete and will be left for next iteration. • Acceptance test for place donation can be: • User should be able to place donation from his account • Only register user should be able to place donation • User should be able to upload pic of donation And so on • Story will be only considered complete when all acceptance tests written against it are passed. University of Gujrat 14
  • 15. Conclusion • Agile approach can improve teamwork and help manage work burden better that traditional approach. • The working software can help in understanding system better by both developer and customer.as all the testing is performed continuously many bugs can be fixed early avoiding complexities later University of Gujrat 15