










































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































Chapter 3 – Agile Software Development Lecture 1 1 Chapter 3 Agile software
Topics covered (^) Agile methods (^) Plan-driven and agile development (^) Extreme programming (^) Agile project management (^) Scaling agile methods 2 Chapter 3 Agile software
Agile methods (^) Dissatisfaction with the overheads involved in software design methods of the 1980s and 1990s led to the creation of agile methods. These methods: (^) Focus on the code rather than the design (^) Are based on an iterative approach to software development (^) Are intended to deliver working software quickly and evolve this quickly to meet changing requirements. (^) The aim of agile methods is to reduce overheads in the software process (e.g. by limiting documentation) and to be able to respond quickly to changing requirements without excessive rework. 4 Chapter 3 Agile software
Agile manifesto (^) We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value: (^) Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan (^) That is, while there is value in the items on the right, we value the items on the left more. Chapter 3 Agile software 5
Agile method applicability (^) Product development where a software company is developing a small or medium-sized product for sale. (^) Custom system development within an organization, where there is a clear commitment from the customer to become involved in the development process and where there are not a lot of external rules and regulations that affect the software. (^) Because of their focus on small, tightly-integrated teams, there are problems in scaling agile methods to large systems. Chapter 3 Agile software 7
Problems with agile methods (^) It can be difficult to keep the interest of customers who are involved in the process. (^) Team members may be unsuited to the intense involvement that characterises agile methods. (^) Prioritising changes can be difficult where there are multiple stakeholders. (^) Maintaining simplicity requires extra work. (^) Contracts may be a problem as with other approaches to iterative development. 8 Chapter 3 Agile software
Plan-driven and agile development (^) Plan-driven development (^) A plan-driven approach to software engineering is based around separate development stages with the outputs to be produced at each of these stages planned in advance. (^) Not necessarily waterfall model – plan-driven, incremental development is possible (^) Iteration occurs within activities. (^) Agile development (^) Specification, design, implementation and testing are inter- leaved and the outputs from the development process are decided through a process of negotiation during the software development process. 10 Chapter 3 Agile software
Plan-driven and agile specification 11 Chapter 3 Agile software
Technical, human, organizational issues (^) What type of system is being developed?
Technical, human, organizational issues (^) Are there cultural or organizational issues that may affect the system development?
XP and agile principles (^) Incremental development is supported through small, frequent system releases. (^) Customer involvement means full-time customer engagement with the team. (^) People not process through pair programming, collective ownership and a process that avoids long working hours. (^) Change supported through regular system releases. (^) Maintaining simplicity through constant refactoring of code. 16 Chapter 3 Agile software
The extreme programming release cycle 17 Chapter 3 Agile software
Extreme programming practices (b) Pair programming Developers work in pairs, checking each other’s work and providing the support to always do a good job. Collective ownership The pairs of developers work on all areas of the system, so that no islands of expertise develop and all the developers take responsibility for all of the code. Anyone can change anything. Continuous integration As soon as the work on a task is complete, it is integrated into the whole system. After any such integration, all the unit tests in the system must pass. Sustainable pace Large amounts of overtime are not considered acceptable as the net effect is often to reduce code quality and medium term productivity On-site customer A representative of the end-user of the system (the customer) should be available full time for the use of the XP team. In an extreme programming process, the customer is a member of the development team and is responsible for bringing system requirements to the team for implementation. 19 Chapter 3 Agile software
Requirements scenarios (^) In XP, a customer or user is part of the XP team and is responsible for making decisions on requirements. (^) User requirements are expressed as scenarios or user stories. (^) These are written on cards and the development team break them down into implementation tasks. These tasks are the basis of schedule and cost estimates. (^) The customer chooses the stories for inclusion in the next release based on their priorities and the schedule estimates. 20 Chapter 3 Agile software