Agile Software Development with XP
Upcoming SlideShare
Loading in...5

Agile Software Development with XP



The Object Oriented Technology course assignment from CU.

The Object Oriented Technology course assignment from CU.



Total Views
Views on SlideShare
Embed Views



2 Embeds 9 7 2



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Agile Software Development with XP Agile Software Development with XP Presentation Transcript

  • BY Extreme Programming
    • The problem in today Software Development
    • Agile Methods
    • eXtreme Programming (XP)
    • Q&A
    • Risks:
      • Schedule Slips
      • Quality of product (Defect Rate)
      • Requirement Changes
      • Project Cancelled
  • Customer satisfaction by rapid, continuous delivery of useful software
  • Working software is delivered frequently
  • Working software is the principal measure of progress
  • Even late changes in requirements are welcomed
  • Close, daily cooperation between business people and developers
  • Face-to-face conversation is the best form of communication
  • Projects are built around motivated individuals, who should be trusted
  • Continuous attention to technical excellence and good design
  • Simplicity
  • Self - organizing teams
  • Regular adaptation to changing circumstances
    • Agile UP
    • XP (eXtreme Programming)
    • FDD (Feature Driven Development)
    • Scrum
  • >>
  • An attempt to reconcile humanity and productivity
  • A mechanism for social change
  • A path to improvement
  • A style of development
  • A software development discipline
  • Communication
  • Simplicity
  • Feedback
  • Courage
  • Respect
    • Planning game
    • Frequent releases
    • Metaphor
    • Simple Design
    • Testing
    • Refactoring
    • Pair Programming
    • Collective Ownership
    • Continuous Integration
    • 40 Hour Week
    • On-site customer
    • Coding Standards
    • A release cycle is usually up to 3 months
    • Each iterations is around to 3 weeks
    • Each iteration the selected user stories are implemented
    • Each user story is split in programming tasks of 1-3 days
    • small and frequent releases provide frequent feedback from the customer.
    • Do the simplest thing that could possible work
    • You aren’t going to need it
      • do not spend time implementing potential future functionality (requirements will change)
    • Put in what you need when you need it
    • Simple design ensures that there is less
      • to communicate
      • to test
      • to refactor
    • Tests play the most important and central role in XP
    • Tests are written before the code is developed
    • All tests are automated (test suites, testing framework)
    • User stories = Requirements
    • Tests = System Specification
    • 2 kinds of test:
      • Acceptance tests (functional tests)
        • clients provide test cases for their stories
        • developers transform these in automatic tests
      • Unit tests
        • developers write tests for their classes (before implementing the classes)
        • All unit tests must run 100% successfully all the time
    • Process of improving code while preserving its function
    • The aim of refactoring is to
      • make the design simpler
      • make the code more understandable
      • improve the tolerance of code to change
    • The code should not need any comments
      • There is no documentation in XP
      • The code and the user stories are the only documents
    • Refactoring is continuous design
    • Two programmers sit together in front of a workstation
      • one enters code
      • one reviews the code and thinks
    • Second most important practice after tests
    • Costs 10-15% more than stand-alone programming
    • Code is simpler (fewer LOC) with less defects (15%)
    • Ensures continuous code inspection (SE)
    • Daily integration at least
    • The whole system is built (integrated) every couple of hours
    • XP feedback cycle:
      • develop unit test
      • code
      • integrate
      • run all units tests (100%)
      • release
    • A working tested system is always available
    • Traditional Software Lifecycle:
      • Listen - Design - Code - Test
    • XP lifecycle
      • Listen - Test - Code - Design
    • Listen to customers while gathering requirements
    • Develop test cases (functional tests and unit tests)
    • Code the objects
    • Design (refactor) as more objects are added to the system
  • Listen to customers while gathering requirements
  • Develop test cases (functional tests and unit tests)
  • Design (refactor) as more objects are added to the system