Docsity

Agile Software Development: Principles, Methods, and Practices, Lecture notes of Computer Science

Toggle sidebar
bg1
Chapter 3 – Agile Software Development
Lecture 1
1
Chapter 3 Agile software
development
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32

Partial preview of the text

Download Agile Software Development: Principles, Methods, and Practices and more Lecture notes Computer Science in PDF only on Docsity!

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?

  • (^) Plan-driven approaches may be required for systems that require a lot of analysis before implementation (e.g. real-time system with complex timing requirements).  (^) What is the expected system lifetime?
  • (^) Long-lifetime systems may require more design documentation to communicate the original intentions of the system developers to the support team.  (^) What technologies are available to support system development?
  • (^) Agile methods rely on good tools to keep track of an evolving design  (^) How is the development team organized?
  • (^) If the development team is distributed or if part of the development is being outsourced, then you may need to develop design documents to communicate across the development teams. 13 Chapter 3 Agile software

Technical, human, organizational issues  (^) Are there cultural or organizational issues that may affect the system development?

  • (^) Traditional engineering organizations have a culture of plan-based development, as this is the norm in engineering.  (^) How good are the designers and programmers in the development team?
  • (^) It is sometimes argued that agile methods require higher skill levels than plan-based approaches in which programmers simply translate a detailed design into code  (^) Is the system subject to external regulation?
  • (^) If a system has to be approved by an external regulator (e.g. the FAA approve software that is critical to the operation of an aircraft) then you will probably be required to produce detailed documentation as part of the system safety case. Chapter 3 Agile software 14

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