1 / 20

Agile Development

Agile Development. What is “Agility” ?. Effective (rapid and adaptive) response to change Effective communication among all stakeholders Drawing the customer onto the team Organizing a team so that it is in control of the work performed Yielding …

brody
Download Presentation

Agile Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agile Development

  2. What is “Agility” ? • Effective (rapid and adaptive) response to change • Effective communication among all stakeholders • Drawing the customer onto the team • Organizing a team so that it is in control of the work performed Yielding … • Rapid, incremental delivery of software

  3. Agility and the Cost of Change

  4. An Agile Process • Is driven by customer descriptions of what is required (scenarios) • Recognizes that plans are short-lived • Develops software iteratively with a heavy emphasis on construction activities • Delivers multiple ‘software increments’ • Adapts as changes occur

  5. Agility Principles 1. Our highest priority is to satisfy the customer through early and continuous delivery of valuable software. 2. Welcome changing requirements, even late in development. Agile processes harness change for the customer’s competitive advantage. 3. Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale. 4. Business people and developers must work together daily throughout the project. 5. Build projects around motivated individuals. Give them the environment and support they need, and trust them to get the job done. 6. The most efficient and effective method of conveying information to and within a development team is face-to-face conversation.

  6. Agility Principles 7. Working software is the primary measure of progress. 8. Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely. 9. Continuous attention to technical excellence and good design enhancesagility. 10. Simplicity—the art of maximizing the amount of work not done—is essential. 11. The best architectures, requirements, and designs emerge from self– organizing teams. 12. At regular intervals, the team reflects on how to become more effective, then tunes and adjusts its behavior accordingly.

  7. Human Factors • The process molds to the needs of the people and team, not the other way around. • A number of key traits must exist among the people on an agile team and the team itself: • Competence: Skill and knowledge of process can and should be taught to all people who serve as agile team members. • Common focus: Although members of the agile team may perform different tasks and bring different skills to the project, all should be focused on one goal—to deliver a working software increment to the customer within the time promised. • Collaboration: Software engineering (regardless of process) is about assessing, analyzing, and using information that is communicated to the software team; creating information that will help all stakeholders understand the work of the team; and building information (computer software and relevant databases) that provides business value for the customer.

  8. Human Factors • Decision-making ability: the team is given autonomy—decision-making authority for both technical and project issues. • Fuzzy problem-solving ability: Software managers must recognize that the agile team will continually have to deal with ambiguity and will continually be repeatedly hit by change. • Mutual trust and respect: A jelled team exhibits the trust and respect that are necessary to make them “so strongly knit that the whole is greater than the sum of the parts.” • Self-organization: In the context of agile development, self-organization implies three things: • the agile team organizes itself for the work to be done, • the team organizes the process to best accommodate its local environment, • the team organizes the work schedule to best achieve delivery of the software increment.

  9. Agile software engineering Agile software engineering combines a philosophy and a set of development guidelines. Thephilosophy encourages: • customer satisfaction and • early incremental delivery of software; • small, highly motivated project teams; • informal methods; • minimal software engineering work products; • and overall development simplicity.

  10. Extreme Programming (XP) • Most widely used approach to agile software development. • More recently, a variant of XP, called Industrial XP (IXP) has been proposed. • IXP refines XP and targets the agile process specifically for use within large organizations • Extreme Programming uses an object-oriented approach as its preferred development paradigm and encompasses a set of rules and practices that occur within the context of four framework activities: planning, design, coding, and testing.

  11. The XP Process Key XP activities are summarized as follows. Planning: The planning activity (also called the planning game) begins with listening—a requirements gathering activity that enables the technical members of the XP team to: • understand the business context for the software and • get a broad feel for required output and major features and functionality. Listening leads to the creation of a set of “stories” (also called user stories) • Each story is written by the customer and is placed on an index card. • The customer assigns a value (i.e., a priority) to the story based on the overall business value of the feature or function

  12. The XP Process (Contd..) The XP team orders the stories that will be developed in one of three ways: • all stories will be implemented immediately (within a few weeks), • the stories with highest value will be moved up in the schedule and implemented first • the riskiest stories will be moved up in the schedule and implemented first.

  13. The XP Process (Contd..) Design: • XP design rigorously follows the KIS (keep it simple) principle. • The design of extra functionality (because the developer assumes it will be required later) is discouraged. • XP encourages the use of CRC cards as an effective mechanism for thinking about the software in an object-oriented context. • CRC (class-responsibility collaborator) cards identify and organize the object-oriented classes that are relevant to the current software increment. • If a difficult design problem is encountered as part of the design of a story, XP recommends the immediate creation of an operational prototype of that portion of the design. Called a spike solution, the design prototype is implemented and evaluated. • XP encourages refactoring—a construction technique that is also a method for design optimization.

  14. The XP Process (Contd..) Refactoring: Refactoring is the process of changing a software system in such a way that it does not alter the external behavior of the code yet improves the internal structure. It is a disciplined way to clean up code [and modify/simplify the internal design] that minimizes the chances of introducing bugs. In essence, when you refactor you are improving the design of the code after it has been written. Coding: The team does not move to code, but rather develops a series of unit tests that will exercise each of the stories that is to be included in the current release (software increment). • A key concept during the coding activity (and one of the most talked about aspects of XP) is pair programming.

  15. The XP Process (Contd..) • As pair programmers complete their work, the code they develop is integrated with the work of others. • In some cases this is performed on a daily basis by an integration team. In other cases, the pair programmers have integration responsibility. • This “continuous integration” strategy helps to avoid compatibility and interfacing problems and provides a “smoke testing” environment that helps to uncover errors early. Testing: • Regression testing • As the individual unit tests are organized into a “universal testing suite”, integration and validation testing of the system can occur on a daily basis. This provides the XP team with a continual indication of progress and also can raise warning flags early if things go awry. Wells states: “Fixing small problems every few hours takes less time than fixing huge problems just before the deadline.”

  16. The XP Process (Contd..) • XP acceptance tests, also called customer tests, are specified by the customer and focus on overall system features and functionality that are visible and reviewable by the customer. • Acceptance tests are derived from user stories that have been implemented as part of a software release.

  17. The XP Process

  18. Examples of User Stories Search for customers • As a user, I want to search for my customers by their first and last names. Modify schedules • As a non-administrative user, I want to modify my own schedules but not the schedules of other users. Run tests • As a mobile application tester, I want to test my test cases and report results to my management.

  19. Examples of User Stories Start application with last edit • The application begins by bringing up the last document the user was working with. Close application • As a user closing the application, I want to be prompted to save if I have made any change in my data since the last save. Upon closing the application, the user is prompted to save (when ANYTHING has changed in data since the last save!). alternatively... • As a user closing the application, I want to be prompted to save anything that has changed since the last save so that I can preserve useful work and discard erroneous work.

  20. User Stories Map

More Related