SlideShare une entreprise Scribd logo
1  sur  51
Télécharger pour lire hors ligne
eXtreme Programming! 
Agile Software Development! 
ARTEM TABALIN!
Iterative vs Waterfall!
Waterfall!
Disadvantages! 
• High amount of risk! 
• Impossible to go back and fix! 
• No result until very end! 
• Impossible to strictly follow the requirements!
Result! 
• Broken expectations! 
• Delivery delay! 
• Double budget! 
• Low quality!
When to use! 
• Simple project! 
• Short project! 
• Clear requirements! 
• Familiar technology!
What to do?! 
• Complex project! 
• Long project! 
• Ambiguous requirements! 
• Unknown technology!
Iterative!
Iteration lifecycle! 
1. Figure out Use Cases! 
2. Choose most valuable for iteration! 
3. Analyze chosen use cases! 
4. Design / Code / Deploy / Test! 
5. Show results to customer! 
6. Repeat from #2 considering feedback #5!
Benefits! 
• Risk management! 
• Early delivery! 
• Cost control! 
• High quality!
Agile Methodologies! 
• eXtreme Programming! 
• SCRUM! 
• Feature Driven Development! 
• KanBan!
Welcome XP!
Risk 
• Delivery delay! 
• Too many bugs! 
• Lack of functionality! 
• Core devs leaving! 
• Requirements change! 
Measure 
• Short releases! 
• Testing! 
• Tasks prioritization! 
• Pair programming! 
• On-site customer! 
XP Against Risks!
Driving Software! 
Change is the only unchangeable thing. ! 
Drive a project like you drive a car.!
Four Variables! 
• Cost! 
• Time! 
• Quality! 
• Scope 
Choose any three!
Four (5) Values! 
• Communication! 
• Simplicity do the simplest thing that can possible work! 
• Feedback! 
• Courage! 
• Respect!
XP Practices!
XP Includes! 
• Metaphor! 
• Coding Standards! 
• Collective Ownership! 
• On-site Customer! 
• Simple Design! 
• Continuous Refactoring! 
• Short Releases! 
• 40-Hour Week! 
• Continuous Integration! 
• Testing! 
• Pair Programming! 
• Planning Game!
Metaphor!
Coding Standards! 
Coding Rules followed by the team! 
• Formatting patterns! 
• Naming conventions! 
• Programming constructs to avoid! 
• Custom agreements!
Collective Ownership! 
Any developer of a team! 
• Has access to the entire source code! 
• Is allowed to change any part of code! 
• Is responsible for the code! 
IMPORTANT: Unit Tests required!
Collective Ownership - Benefits! 
• Reduce negative effect of losing a programmer! 
• Complex code eliminated by teammates! 
• No “tricky code” owners! 
• Full control over the code for everyone!
On-site Customer! 
The customer on hand at all times and 
available for questions!
Simple Design! 
Is there any way to do it simpler?!
Continuous Refactoring! 
Today’s design calls for refactoring! 
When! 
• During TDD cycle! 
• Before adding new feature! 
• New feature added! 
What! 
• Code duplication! 
• Code that smells! 
!
Short Releases! 
Release should be as short as possible and contain 
most valuable business requirements!
40-Hour Week! 
Overtime is a symptom of a serious ! 
problem on the project !
Continuous Integration! 
Get system build several times a day! 
Aims 
• Prevent “integration hell”! 
• Last stable build always available! 
• Automatic tests running!
Continuous Integration - Principles! 
• Maintain single code repository! 
• Automate the build! 
• Self-testing build! 
• Everyone commits to the baseline daily! 
• Automate deployment!
Planning Game! 
• Release (1-6 months) 
business cycle! 
• Iteration (1-3 weeks) 
developer cycle! 
• Stand-up meeting 
everyday! 
• Story (feature) 
measure of software for customer!
Release Planning! 
1. Customer writes stories! 
2. Developers estimate the stories! 
3. Splitting/Combining the stories! 
4. Sorting stories by value and risk! 
5. Choosing the scope based on velocity! 
6. Steering phase! 
• customer can add a story or change the priority! 
• developer can change the estimation! 
• plan change!
Iteration Planning! 
1. Dividing stories into tasks! 
2. Estimating the tasks yesterday’s weather! 
3. Devs take responsibility for tasks! 
4. Load factor estimation 0.5 is normal value! 
5. Rebalancing according to #4! 
6. Steering phase! 
• tasks adding! 
• tasks reassigning ! 
• plan change!
Stand-Up Meeting! 
• Short everyday meeting at the same time! 
• Everybody stands for the whole meeting in circle! 
• Everybody says! 
• what he did yesterday! 
• what he is doing today! 
• what problems he has! 
• For problems announcing (not solving)!
Testing! 
Test-Driven Development!
Tests Classification! 
• Unit Tests 
functionality in isolation! 
• Integration Tests 
components interaction 
• Functional & Acceptance Tests 
business requirements! 
• Specific Tests 
load, performance, usability, security!
TDD - Benefits! 
• Assurance of correctness! 
• Eliminates risk of changes! 
• Ensures better design! 
• Provides documentation! 
• Reduce debug time! 
• Makes to write loosely coupled code! 
• Gives confidence!
TDD - Mantra ! 
Red! 
Refactor!Green!
TDD - Cycle! 
• Add test! 
• Run all tests and fail (Red)! 
• Make required change to succeed! 
• Run all tests and succeed (Green)! 
• Refactor to remove duplication (Refactor)!
Unit Tests Best Practices! 
• Test first! 
• Assert first! 
• Arrange → Act → Assert! 
• Tests isolation! 
• Mocking dependencies!
Arrange → Act → Assert!
Tests Isolation!
Mocking Dependencies!
Other Unit Tests! 
• Explanation Test 
explain with test! 
• Learning (Boundary) Test 
external library! 
• Regression Test 
bug elimination!
Test Greening Rules! 
• Getting to Green strategies! 
• obvious implementation! 
• fake it! 
• triangulation! 
• Do the simplest solution possible! 
• Postpone faced problems for next steps! 
• No code for future!
Pair Programming! 
Two programmers work at one workstation!
Pair Programming - Benefits! 
• Less defects! 
• Better decisions! 
• Higher productivity less distractions! 
• Developers confidence! 
• Knowledge sharing! 
• Learning! 
• Team building!
Pair Programming - Variations! 
• Expert – Expert! 
• Expert – Novice! 
• Novice – Novice! 
• Remote pair programming!
Pair Programming - Problems! 
• “Watch the master” phenomenon! 
• Disengagement and silence! 
How to fight with?! 
Each developer keeps the keyboard in turn!
Pair Programming for TDD! 
• Dev1: Write test! 
• Dev2: Implement functionality! 
• Dev1: Make refactoring! 
• Dev1 ⇔ Dev2 and repeat!
Thank you!! 
Your questions, please!! 
ARTEM TABALIN!
References! 
• Beck K. Extreme Programming Explained: Embrace Change! 
• Beck K., Fowler M. Planning Extreme Programming! 
• Beck K. Test Driven Development: By Example!

Contenu connexe

Tendances

Introduction to TDD
Introduction to TDDIntroduction to TDD
Introduction to TDDAhmed Misbah
 
How I Learned to Stop Worrying and Love Legacy Code.....
How I Learned to Stop Worrying and Love Legacy Code.....How I Learned to Stop Worrying and Love Legacy Code.....
How I Learned to Stop Worrying and Love Legacy Code.....Mike Harris
 
Software Testing Overview
Software Testing OverviewSoftware Testing Overview
Software Testing OverviewHawkman Academy
 
Selenium + Specflow
Selenium + SpecflowSelenium + Specflow
Selenium + Specflowcromwellryan
 
Growing Manual Testers into Automators
Growing Manual Testers into AutomatorsGrowing Manual Testers into Automators
Growing Manual Testers into AutomatorsCamille Bell
 
Promoting Agility with Running Tested Features - Lightening Talk
Promoting Agility with Running Tested Features - Lightening TalkPromoting Agility with Running Tested Features - Lightening Talk
Promoting Agility with Running Tested Features - Lightening TalkCamille Bell
 
DDT Testing Library for Android
DDT Testing Library for AndroidDDT Testing Library for Android
DDT Testing Library for AndroidAhmed Misbah
 
Remote Mob Programming
Remote Mob ProgrammingRemote Mob Programming
Remote Mob ProgrammingCamille Bell
 
Myths and Challenges of Behaviour Driven Development
Myths and Challenges of Behaviour Driven DevelopmentMyths and Challenges of Behaviour Driven Development
Myths and Challenges of Behaviour Driven DevelopmentPankaj Nakhat
 
Going extreme-with-extreme-programming
Going extreme-with-extreme-programmingGoing extreme-with-extreme-programming
Going extreme-with-extreme-programmingMichael Green
 
Mob Programming for Continuous Learning
Mob Programming for Continuous LearningMob Programming for Continuous Learning
Mob Programming for Continuous LearningMike Clement
 
06 integrating extra features and looking forward
06   integrating extra features and looking forward06   integrating extra features and looking forward
06 integrating extra features and looking forwardМарина Босова
 
Dealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World ExperienceDealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World ExperienceJakub Holy
 
Episode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and InterfacesEpisode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and InterfacesJitendra Zaa
 
I Don't Test Often ...
I Don't Test Often ...I Don't Test Often ...
I Don't Test Often ...Gareth Bowles
 
Extreme programming - a quick and agile overview !
Extreme programming - a quick and agile overview !Extreme programming - a quick and agile overview !
Extreme programming - a quick and agile overview !Vinit Kumar Singh
 

Tendances (20)

Introduction to TDD
Introduction to TDDIntroduction to TDD
Introduction to TDD
 
How I Learned to Stop Worrying and Love Legacy Code.....
How I Learned to Stop Worrying and Love Legacy Code.....How I Learned to Stop Worrying and Love Legacy Code.....
How I Learned to Stop Worrying and Love Legacy Code.....
 
Software Testing Overview
Software Testing OverviewSoftware Testing Overview
Software Testing Overview
 
Selenium + Specflow
Selenium + SpecflowSelenium + Specflow
Selenium + Specflow
 
Growing Manual Testers into Automators
Growing Manual Testers into AutomatorsGrowing Manual Testers into Automators
Growing Manual Testers into Automators
 
Promoting Agility with Running Tested Features - Lightening Talk
Promoting Agility with Running Tested Features - Lightening TalkPromoting Agility with Running Tested Features - Lightening Talk
Promoting Agility with Running Tested Features - Lightening Talk
 
DDT Testing Library for Android
DDT Testing Library for AndroidDDT Testing Library for Android
DDT Testing Library for Android
 
Remote Mob Programming
Remote Mob ProgrammingRemote Mob Programming
Remote Mob Programming
 
Clean code
Clean codeClean code
Clean code
 
Myths and Challenges of Behaviour Driven Development
Myths and Challenges of Behaviour Driven DevelopmentMyths and Challenges of Behaviour Driven Development
Myths and Challenges of Behaviour Driven Development
 
Going extreme-with-extreme-programming
Going extreme-with-extreme-programmingGoing extreme-with-extreme-programming
Going extreme-with-extreme-programming
 
Software development fundamentals
Software development fundamentalsSoftware development fundamentals
Software development fundamentals
 
Mob Programming for Continuous Learning
Mob Programming for Continuous LearningMob Programming for Continuous Learning
Mob Programming for Continuous Learning
 
06 integrating extra features and looking forward
06   integrating extra features and looking forward06   integrating extra features and looking forward
06 integrating extra features and looking forward
 
ATDD in practice
ATDD in practiceATDD in practice
ATDD in practice
 
Dealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World ExperienceDealing With Legacy: The Real-World Experience
Dealing With Legacy: The Real-World Experience
 
Episode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and InterfacesEpisode 3 – Classes, Inheritance, Abstract Class, and Interfaces
Episode 3 – Classes, Inheritance, Abstract Class, and Interfaces
 
I Don't Test Often ...
I Don't Test Often ...I Don't Test Often ...
I Don't Test Often ...
 
Extreme programming - a quick and agile overview !
Extreme programming - a quick and agile overview !Extreme programming - a quick and agile overview !
Extreme programming - a quick and agile overview !
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
 

En vedette

Perfect Styling - How to write better CSS
Perfect Styling - How to write better CSSPerfect Styling - How to write better CSS
Perfect Styling - How to write better CSSArtem Tabalin
 
SOLID, DRY, SLAP design principles
SOLID, DRY, SLAP design principlesSOLID, DRY, SLAP design principles
SOLID, DRY, SLAP design principlesSergey Karpushin
 
The principles of good programming
The principles of good programmingThe principles of good programming
The principles of good programmingAngelin R
 
Smacss e-css-faz-bem
Smacss e-css-faz-bemSmacss e-css-faz-bem
Smacss e-css-faz-bemJust Digital
 
AgileCamp'11 Новосибирск - введение в инженерные практики
AgileCamp'11 Новосибирск - введение в инженерные практикиAgileCamp'11 Новосибирск - введение в инженерные практики
AgileCamp'11 Новосибирск - введение в инженерные практикиAnton Katkov
 
AgileCamp'12 Нижний Новгород: Введение
AgileCamp'12 Нижний Новгород: Введение AgileCamp'12 Нижний Новгород: Введение
AgileCamp'12 Нижний Новгород: Введение Anton Katkov
 
Андрій Кушнарьов «Agile планування проектів»
Андрій Кушнарьов «Agile планування проектів»Андрій Кушнарьов «Agile планування проектів»
Андрій Кушнарьов «Agile планування проектів»Lviv Startup Club
 
Коварный Tracer Bullet Development
Коварный Tracer Bullet DevelopmentКоварный Tracer Bullet Development
Коварный Tracer Bullet DevelopmentMikalai Alimenkou
 
TDD in functional testing with WebDriver
TDD in functional testing with WebDriverTDD in functional testing with WebDriver
TDD in functional testing with WebDriverMikalai Alimenkou
 
Экстремальное программирование (XP – extreme programming)
Экстремальное программирование (XP – extreme programming)Экстремальное программирование (XP – extreme programming)
Экстремальное программирование (XP – extreme programming)Golubtsova Lena
 

En vedette (20)

Software Patterns
Software PatternsSoftware Patterns
Software Patterns
 
Perfect Styling - How to write better CSS
Perfect Styling - How to write better CSSPerfect Styling - How to write better CSS
Perfect Styling - How to write better CSS
 
Perfect Code
Perfect CodePerfect Code
Perfect Code
 
Refactoring
RefactoringRefactoring
Refactoring
 
SOLID, DRY, SLAP design principles
SOLID, DRY, SLAP design principlesSOLID, DRY, SLAP design principles
SOLID, DRY, SLAP design principles
 
The principles of good programming
The principles of good programmingThe principles of good programming
The principles of good programming
 
Offline Web Apps
Offline Web AppsOffline Web Apps
Offline Web Apps
 
Smacss e-css-faz-bem
Smacss e-css-faz-bemSmacss e-css-faz-bem
Smacss e-css-faz-bem
 
Agile Testing Process
Agile Testing ProcessAgile Testing Process
Agile Testing Process
 
AgileCamp'11 Новосибирск - введение в инженерные практики
AgileCamp'11 Новосибирск - введение в инженерные практикиAgileCamp'11 Новосибирск - введение в инженерные практики
AgileCamp'11 Новосибирск - введение в инженерные практики
 
Future4kist 1.4
Future4kist 1.4Future4kist 1.4
Future4kist 1.4
 
Scrum and XP in practice
Scrum and XP in practiceScrum and XP in practice
Scrum and XP in practice
 
AgileCamp'12 Нижний Новгород: Введение
AgileCamp'12 Нижний Новгород: Введение AgileCamp'12 Нижний Новгород: Введение
AgileCamp'12 Нижний Новгород: Введение
 
Андрій Кушнарьов «Agile планування проектів»
Андрій Кушнарьов «Agile планування проектів»Андрій Кушнарьов «Agile планування проектів»
Андрій Кушнарьов «Agile планування проектів»
 
Introduction to Agile
Introduction to AgileIntroduction to Agile
Introduction to Agile
 
Коварный Tracer Bullet Development
Коварный Tracer Bullet DevelopmentКоварный Tracer Bullet Development
Коварный Tracer Bullet Development
 
TDD in functional testing with WebDriver
TDD in functional testing with WebDriverTDD in functional testing with WebDriver
TDD in functional testing with WebDriver
 
Extreme banking
Extreme bankingExtreme banking
Extreme banking
 
Agile Feedback Loops (ukr)
Agile Feedback Loops (ukr)Agile Feedback Loops (ukr)
Agile Feedback Loops (ukr)
 
Экстремальное программирование (XP – extreme programming)
Экстремальное программирование (XP – extreme programming)Экстремальное программирование (XP – extreme programming)
Экстремальное программирование (XP – extreme programming)
 

Similaire à Agile XP Explained: Iterative Development, TDD, Pair Programming

Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...
Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...
Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...Mozaic Works
 
Agile in 1,5 hours : brief introduction
Agile in 1,5 hours : brief introductionAgile in 1,5 hours : brief introduction
Agile in 1,5 hours : brief introductionKostetska Galyna
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assuranceBenjamin Baumann
 
Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...
Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...
Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...Eric Wu
 
Lean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill AyersLean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill AyersSPC Adriatics
 
Hacker News Meetup April 2014
Hacker News Meetup April 2014Hacker News Meetup April 2014
Hacker News Meetup April 2014Dan Quine
 
Introducing Pair Programming
Introducing Pair ProgrammingIntroducing Pair Programming
Introducing Pair ProgrammingSteven Smith
 
Test Driven Development - Workshop
Test Driven Development - WorkshopTest Driven Development - Workshop
Test Driven Development - WorkshopAnjana Somathilake
 
Extreme Programming (XP): Revisted
Extreme Programming (XP): RevistedExtreme Programming (XP): Revisted
Extreme Programming (XP): RevistedMike Harris
 
TDD and Related Techniques for Non Developers (2012)
TDD and Related Techniques for Non Developers (2012)TDD and Related Techniques for Non Developers (2012)
TDD and Related Techniques for Non Developers (2012)Peter Kofler
 
Continuous Integration In A PHP World
Continuous Integration In A PHP WorldContinuous Integration In A PHP World
Continuous Integration In A PHP WorldIdaf_1er
 
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014Phil Leggetter
 
Project Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on DockerProject Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on DockerRightScale
 
Why your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itWhy your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itFarooq Ali
 
Client Technical Analysis of Legacy Software and Future Replacement
Client Technical Analysis of Legacy Software and Future ReplacementClient Technical Analysis of Legacy Software and Future Replacement
Client Technical Analysis of Legacy Software and Future ReplacementVictorSzoltysek
 
Introducing systems analysis, design & development Concepts
Introducing systems analysis, design & development ConceptsIntroducing systems analysis, design & development Concepts
Introducing systems analysis, design & development ConceptsShafiul Azam Chowdhury
 

Similaire à Agile XP Explained: Iterative Development, TDD, Pair Programming (20)

Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...
Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...
Aki Salmi - Refactoring legacy code: a true story @ I T.A.K.E. Unconference 2...
 
Agile engineering practices
Agile engineering practicesAgile engineering practices
Agile engineering practices
 
Requirements the Last Bottleneck
Requirements the Last BottleneckRequirements the Last Bottleneck
Requirements the Last Bottleneck
 
Agile in 1,5 hours : brief introduction
Agile in 1,5 hours : brief introductionAgile in 1,5 hours : brief introduction
Agile in 1,5 hours : brief introduction
 
Eurosport's Kodakademi #2
Eurosport's Kodakademi #2Eurosport's Kodakademi #2
Eurosport's Kodakademi #2
 
Software testing and quality assurance
Software testing and quality assuranceSoftware testing and quality assurance
Software testing and quality assurance
 
Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...
Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...
Introduction to Agile Software Development - Eric Wu - MBAX6360 New Product D...
 
Lean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill AyersLean-Agile Development with SharePoint - Bill Ayers
Lean-Agile Development with SharePoint - Bill Ayers
 
How to write bad code using C#
How to write bad code using C#How to write bad code using C#
How to write bad code using C#
 
Hacker News Meetup April 2014
Hacker News Meetup April 2014Hacker News Meetup April 2014
Hacker News Meetup April 2014
 
Introducing Pair Programming
Introducing Pair ProgrammingIntroducing Pair Programming
Introducing Pair Programming
 
Test Driven Development - Workshop
Test Driven Development - WorkshopTest Driven Development - Workshop
Test Driven Development - Workshop
 
Extreme Programming (XP): Revisted
Extreme Programming (XP): RevistedExtreme Programming (XP): Revisted
Extreme Programming (XP): Revisted
 
TDD and Related Techniques for Non Developers (2012)
TDD and Related Techniques for Non Developers (2012)TDD and Related Techniques for Non Developers (2012)
TDD and Related Techniques for Non Developers (2012)
 
Continuous Integration In A PHP World
Continuous Integration In A PHP WorldContinuous Integration In A PHP World
Continuous Integration In A PHP World
 
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
 
Project Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on DockerProject Sherpa: How RightScale Went All in on Docker
Project Sherpa: How RightScale Went All in on Docker
 
Why your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating itWhy your company loves to welcome change but sucks at accommodating it
Why your company loves to welcome change but sucks at accommodating it
 
Client Technical Analysis of Legacy Software and Future Replacement
Client Technical Analysis of Legacy Software and Future ReplacementClient Technical Analysis of Legacy Software and Future Replacement
Client Technical Analysis of Legacy Software and Future Replacement
 
Introducing systems analysis, design & development Concepts
Introducing systems analysis, design & development ConceptsIntroducing systems analysis, design & development Concepts
Introducing systems analysis, design & development Concepts
 

Dernier

DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 

Dernier (20)

DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 

Agile XP Explained: Iterative Development, TDD, Pair Programming

  • 1. eXtreme Programming! Agile Software Development! ARTEM TABALIN!
  • 4. Disadvantages! • High amount of risk! • Impossible to go back and fix! • No result until very end! • Impossible to strictly follow the requirements!
  • 5. Result! • Broken expectations! • Delivery delay! • Double budget! • Low quality!
  • 6. When to use! • Simple project! • Short project! • Clear requirements! • Familiar technology!
  • 7. What to do?! • Complex project! • Long project! • Ambiguous requirements! • Unknown technology!
  • 9. Iteration lifecycle! 1. Figure out Use Cases! 2. Choose most valuable for iteration! 3. Analyze chosen use cases! 4. Design / Code / Deploy / Test! 5. Show results to customer! 6. Repeat from #2 considering feedback #5!
  • 10. Benefits! • Risk management! • Early delivery! • Cost control! • High quality!
  • 11. Agile Methodologies! • eXtreme Programming! • SCRUM! • Feature Driven Development! • KanBan!
  • 13. Risk • Delivery delay! • Too many bugs! • Lack of functionality! • Core devs leaving! • Requirements change! Measure • Short releases! • Testing! • Tasks prioritization! • Pair programming! • On-site customer! XP Against Risks!
  • 14. Driving Software! Change is the only unchangeable thing. ! Drive a project like you drive a car.!
  • 15. Four Variables! • Cost! • Time! • Quality! • Scope Choose any three!
  • 16. Four (5) Values! • Communication! • Simplicity do the simplest thing that can possible work! • Feedback! • Courage! • Respect!
  • 18. XP Includes! • Metaphor! • Coding Standards! • Collective Ownership! • On-site Customer! • Simple Design! • Continuous Refactoring! • Short Releases! • 40-Hour Week! • Continuous Integration! • Testing! • Pair Programming! • Planning Game!
  • 20. Coding Standards! Coding Rules followed by the team! • Formatting patterns! • Naming conventions! • Programming constructs to avoid! • Custom agreements!
  • 21. Collective Ownership! Any developer of a team! • Has access to the entire source code! • Is allowed to change any part of code! • Is responsible for the code! IMPORTANT: Unit Tests required!
  • 22. Collective Ownership - Benefits! • Reduce negative effect of losing a programmer! • Complex code eliminated by teammates! • No “tricky code” owners! • Full control over the code for everyone!
  • 23. On-site Customer! The customer on hand at all times and available for questions!
  • 24. Simple Design! Is there any way to do it simpler?!
  • 25. Continuous Refactoring! Today’s design calls for refactoring! When! • During TDD cycle! • Before adding new feature! • New feature added! What! • Code duplication! • Code that smells! !
  • 26. Short Releases! Release should be as short as possible and contain most valuable business requirements!
  • 27. 40-Hour Week! Overtime is a symptom of a serious ! problem on the project !
  • 28. Continuous Integration! Get system build several times a day! Aims • Prevent “integration hell”! • Last stable build always available! • Automatic tests running!
  • 29. Continuous Integration - Principles! • Maintain single code repository! • Automate the build! • Self-testing build! • Everyone commits to the baseline daily! • Automate deployment!
  • 30. Planning Game! • Release (1-6 months) business cycle! • Iteration (1-3 weeks) developer cycle! • Stand-up meeting everyday! • Story (feature) measure of software for customer!
  • 31. Release Planning! 1. Customer writes stories! 2. Developers estimate the stories! 3. Splitting/Combining the stories! 4. Sorting stories by value and risk! 5. Choosing the scope based on velocity! 6. Steering phase! • customer can add a story or change the priority! • developer can change the estimation! • plan change!
  • 32. Iteration Planning! 1. Dividing stories into tasks! 2. Estimating the tasks yesterday’s weather! 3. Devs take responsibility for tasks! 4. Load factor estimation 0.5 is normal value! 5. Rebalancing according to #4! 6. Steering phase! • tasks adding! • tasks reassigning ! • plan change!
  • 33. Stand-Up Meeting! • Short everyday meeting at the same time! • Everybody stands for the whole meeting in circle! • Everybody says! • what he did yesterday! • what he is doing today! • what problems he has! • For problems announcing (not solving)!
  • 35. Tests Classification! • Unit Tests functionality in isolation! • Integration Tests components interaction • Functional & Acceptance Tests business requirements! • Specific Tests load, performance, usability, security!
  • 36. TDD - Benefits! • Assurance of correctness! • Eliminates risk of changes! • Ensures better design! • Provides documentation! • Reduce debug time! • Makes to write loosely coupled code! • Gives confidence!
  • 37. TDD - Mantra ! Red! Refactor!Green!
  • 38. TDD - Cycle! • Add test! • Run all tests and fail (Red)! • Make required change to succeed! • Run all tests and succeed (Green)! • Refactor to remove duplication (Refactor)!
  • 39. Unit Tests Best Practices! • Test first! • Assert first! • Arrange → Act → Assert! • Tests isolation! • Mocking dependencies!
  • 40. Arrange → Act → Assert!
  • 43. Other Unit Tests! • Explanation Test explain with test! • Learning (Boundary) Test external library! • Regression Test bug elimination!
  • 44. Test Greening Rules! • Getting to Green strategies! • obvious implementation! • fake it! • triangulation! • Do the simplest solution possible! • Postpone faced problems for next steps! • No code for future!
  • 45. Pair Programming! Two programmers work at one workstation!
  • 46. Pair Programming - Benefits! • Less defects! • Better decisions! • Higher productivity less distractions! • Developers confidence! • Knowledge sharing! • Learning! • Team building!
  • 47. Pair Programming - Variations! • Expert – Expert! • Expert – Novice! • Novice – Novice! • Remote pair programming!
  • 48. Pair Programming - Problems! • “Watch the master” phenomenon! • Disengagement and silence! How to fight with?! Each developer keeps the keyboard in turn!
  • 49. Pair Programming for TDD! • Dev1: Write test! • Dev2: Implement functionality! • Dev1: Make refactoring! • Dev1 ⇔ Dev2 and repeat!
  • 50. Thank you!! Your questions, please!! ARTEM TABALIN!
  • 51. References! • Beck K. Extreme Programming Explained: Embrace Change! • Beck K., Fowler M. Planning Extreme Programming! • Beck K. Test Driven Development: By Example!