Chapter 3 – Agile Software Development 1Chapter 3 Agile software development.

Slides:



Advertisements
Similar presentations
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
Advertisements

Rapid software development
1 Software Engineering Muhammad Fahad Khan Software Engineering Muhammad Fahad Khan University Of Engineering.
Alternate Software Development Methodologies
Agile Development.
Chapter 3 – Agile Software Development Chapter 3 Agile Software Development130/10/2014.
Chapter 3 – Agile Software Development
1 Software Testing and Quality Assurance Lecture 34 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Chapter 17: Rapid software development November 3, 2008.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
Chapter 3 – Agile Software Development Lecture 1 1Chapter 3 Agile software development.
An Agile View of Process
Agile Software Development
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Extreme Programming.
Chapter 3 – Agile Software Development
Chapter 3 – Agile Software Development Lecture 2 1Chapter 3 Agile software development.
Chapter 3 – Agile Software Development Lecture 1 1Chapter 3 Agile software development That's been one of my mantras - focus and simplicity. Simple can.
Chapter 3 – Agile Software Development Lecture 1 1Chapter 3 Agile software development.
Dr. Tom WayCSC Software Processes CSC 4700 Software Engineering.
Chapter 5 Software Process Models. Problems with “Traditional” Processes 1.Focused on and oriented towards “large projects” and lengthy development time.
Chapter 3 Agile Software Development (2/2) Yonsei University 2 nd Semester, 2013 Sanghyun Park.
Software Engineering Lecture 5 – Agile Software Development
Figures – Chapter 3. Figure 3.1 The principles of agile methods PrincipleDescription Customer involvementCustomers should be closely involved throughout.
Agile Software Development Chapter 3 – Lecture 1 Adrián Susinos.
Extreme Programming(XP)
Software Processes.
Extreme/Agile Programming Prabhaker Mateti. ACK These slides are collected from many authors along with a few of mine. Many thanks to all these authors.
 Chapter 3 – Agile Software Development Chapter 3 Agile software development1.
Chapter 3 – Agile Software Development Lecture 2 1Chapter 3 Agile software development.
Rapid software development 1. Topics covered Agile methods Extreme programming Rapid application development Software prototyping 2.
Chapter 3 Agile Software Development (1/2) Yonsei University 2 nd Semester, 2015 Sanghyun Park.
LECTURE 1 Chapter 3 – Agile Software Development Sumber dari : cse.stfx.ca/~mlin/cs485/lectures/agile.pp.
Chapter 2 Software processes. Topics covered Software process models Process activities Coping with change.
CS3100 Software Project Management Agile Approaches.
Chapter 3 – Agile Software Development
Requirements Engineering Requirements Engineering in Agile Methods Lecture-28.
Lecture 3 – Agile Approach
Software Engineering Lecture 7 Lecture # 7 Agile Software Development Fahim Khan Assistant Professor of Computer Science UOL, Sargodha
Chapter 3 – Agile Software Development Chapter 3 Agile Software Development130/10/2014.
Chapter 3 – Agile Software Development 1Chapter 3 Agile software development Ian Sommerville, Software Engineering, 9 th Edition Pearson Education, Addison-Wesley.
Agile Methods Presentation By: Jason Abbett. Definition A process to rapidly develop software Many kinds of agile methods but few are practiced.
Chapter 3 – Agile Software Development Lecture 1 1Chapter 3 Agile software development.
Agenda: Overview of Agile testing Difference between Agile and traditional Methodology Agile Development Methodologies Extreme Programming Test Driven.
Chapter 3 – Agile Software Development Lecture 1 1Chapter 3 Agile software development.
CS223: Software Engineering Lecture 16: The Agile Methodology.
CS223: Software Engineering Lecture 18: The XP. Recap Introduction to Agile Methodology Customer centric approach Issues of Agile methodology Where to.
Agile Software Development 1Chapter 3 Agile software development.
Part  Agile project management - Scrum  Agile methods and large projects 3.
Agile Software Development 1. Topics covered Agile methods Plan-driven and agile development Extreme programming 2.
Chapter 3 – Agile Software Development 1Chapter 3 Agile software development.
Chapter 3 – Agile Software Development Part 1a 1.
Chapter 3 Agile software development 1 Chapter 3 – Agile Software Development.
Software engineering (cs3529) target classes: cs14: A,B
CS223: Software Engineering
Agile Methods SENG 301.
CompSci 280 S Introduction to Software Development
Software & Software Engineering Pertemuan-4 Dosen :Kundang K Juman
Chapter 3 – Agile Software Development
Chapter 3 – Agile Software Development
Rapid software development
Chapter 3 – Agile Software Development
Chapter 3 – Agile Software Development
Chapter 3 – Agile Software Development
Chapter 3 – Agile Software Development
Chapter 3 – Agile Software Development
Extreme Programming.
Chapter 5: New and Emerging Process Methodologies
Presentation transcript:

Chapter 3 – Agile Software Development 1Chapter 3 Agile software development

Topics covered  Agile Development  Extreme Programming Methodology  Pair Programming 2Chapter 3 Agile software development

Rapid software development  Rapid development and delivery is now often the most important requirement for software systems  Businesses operate in a fast –changing requirement and it is practically impossible to produce a set of stable software requirements  Software has to evolve quickly to reflect changing business needs.  Rapid software development  Specification, design and implementation are inter-leaved  System is developed as a series of versions with stakeholders involved in version evaluation  User interfaces are often developed using an IDE and graphical toolset. 3Chapter 3 Agile software development

What is Agile Development?  Agile is an emerging software development methodology  Programming-centric  Few rules and practices  Easy to follow  Eliminate much of modeling and documentation tasks – saves time  Emphasize simple, iterative application development Chapter 3 Agile software development4

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 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. 5Chapter 3 Agile software development

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 development6

The principles of agile methods PrincipleDescription Customer involvementCustomers should be closely involved throughout the development process. Their role is provide and prioritize new system requirements and to evaluate the iterations of the system. Incremental deliveryThe software is developed in increments with the customer specifying the requirements to be included in each increment. People not processThe skills of the development team should be recognized and exploited. Team members should be left to develop their own ways of working without prescriptive processes. Embrace changeExpect the system requirements to change and so design the system to accommodate these changes. Maintain simplicityFocus on simplicity in both the software being developed and in the development process. Wherever possible, actively work to eliminate complexity from the system. 7Chapter 3 Agile software development

Extreme Programming  Perhaps the best-known and most widely used agile method.  Extreme Programming (XP) takes an ‘extreme’ approach to iterative development.  New versions may be built several times per day;  Increments are delivered to customers every 2 weeks;  All tests must be run for every build and the build is only accepted if tests run successfully. 8Chapter 3 Agile software development

Extreme Programming (cont.)  Extreme Programming is founded on four core values:  Communication  Simplicity  Feedback  Courage  Developers must provide rapid feedback to the end users on a continuous basis  XP requires developers to follow the KISS principle Chapter 3 Agile software development9

Extreme Programming (cont.)  Developers must make incremental changes to grow the system – must embrace change  Developers must have a quality first mentality  Three key principles used by XP to create successful systems:  Continuous testing  Coding performed by pairs of developers  Close interactions with end users Chapter 3 Agile software development10

Extreme Programming (cont.)  XP project begins with user stories that describe what the system needs to do  Programmers code in small, simple modules and test to meet those needs  Users are required to be available to clear up questions and issues  Standards are very important to minimize confusion  XP projects deliver results sooner than even the RAD approaches Chapter 3 Agile software development11

Problems with XP  For large projects, applying XP is not easy  XP is only recommended for small groups of developers—no more than 10 developers  Project members need to work well and co-operate as part of a team  XP requires a great deal of discipline – otherwise projects will become unfocused and chaotic  Maintaining large systems built with XP is difficult – lack of analysis and design documentation, only code documentation  On-site customer availability not always possible 12Chapter 3 Agile software development

Testing in XP  Testing is central to XP and XP has developed an approach where the program is tested after every change has been made.  XP testing features:  Test-first development.  User involvement in test development and validation.  Automated test harnesses are used to run all component tests each time that a new release is built. 13Chapter 3 Agile software development

Test-first development  Writing tests before code clarifies the requirements to be implemented.  Tests are written as programs rather than data so that they can be executed automatically. The test includes a check that it has executed correctly.  Usually relies on a testing framework such as Junit.  All previous and new tests are run automatically when new functionality is added, thus checking that the new functionality has not introduced errors. 14Chapter 3 Agile software development

Pair programming  In XP, programmers work in pairs, sitting together to develop code.  This helps develop common ownership of code and spreads knowledge across the team.  It serves as an informal review process as each line of code is looked at by more than 1 person.  It encourages refactoring as the whole team can benefit from this.  Measurements suggest that development productivity with pair programming is similar to that of two people working independently. 15Chapter 3 Agile software development

Pair programming (cont.)  In pair programming, programmers sit together at the same workstation to develop the software.  Pairs are created dynamically so that all team members work with each other during the development process.  The sharing of knowledge that happens during pair programming is very important as it reduces the overall risks to a project when team members leave.  Pair programming is not necessarily inefficient and there is evidence that a pair working together is more efficient than 2 programmers working separately. 16Chapter 3 Agile software development

Advantages of pair programming  It supports the idea of collective ownership and responsibility for the system.  Individuals are not held responsible for problems with the code. Instead, the team has collective responsibility for resolving these problems.  It acts as an informal review process because each line of code is looked at by at least two people.  It helps support refactoring, which is a process of software improvement.  Where pair programming and collective ownership are used, others benefit immediately from the refactoring so they are likely to support the process. Chapter 3 Agile software development17