CSC/ECE 517 Fall 2010/ch6 6c AW: Difference between revisions
Line 21: | Line 21: | ||
With the user stories approach, the idea is to create small portions of what the system can do in relation to the user, and use these portions to estimate the size of a project (or iteration, release, etc). Story points are defined as the essential unit of measurement for a user story. Because of the desire to keep things flexible, the exact definition of a story point unit will vary from team to team and from project to project. Common ways to define them are as an ideal day or week of work or as one degree of complexity of a user story. Due to these varied meanings, it has been suggested that story points are measured in NUTs, or Nebulous Units of Time [http://pg-server.csc.ncsu.edu/mediawiki/index.php?title=CSC/ECE_517_Fall_2010/ch6_6c_AW#References]. | With the user stories approach, the idea is to create small portions of what the system can do in relation to the user, and use these portions to estimate the size of a project (or iteration, release, etc). Story points are defined as the essential unit of measurement for a user story. Because of the desire to keep things flexible, the exact definition of a story point unit will vary from team to team and from project to project. Common ways to define them are as an ideal day or week of work or as one degree of complexity of a user story. Due to these varied meanings, it has been suggested that story points are measured in NUTs, or Nebulous Units of Time [http://pg-server.csc.ncsu.edu/mediawiki/index.php?title=CSC/ECE_517_Fall_2010/ch6_6c_AW#References]. | ||
Each individual programmer can be assigned tasks to do based on these story points that measure the user stories, breaking down the larger project into manageable units that can be completed individually. Story estimates as a whole, however, are completed and owned by the team in charge of developing the system. Story estimates simply refer to the collection of smaller tasks that together make up a more comprehensive user story [http://pg-server.csc.ncsu.edu/mediawiki/index.php?title=CSC/ECE_517_Fall_2010/ch6_6c_AW#References [1 | Each individual programmer can be assigned tasks to do based on these story points that measure the user stories, breaking down the larger project into manageable units that can be completed individually. Story estimates as a whole, however, are completed and owned by the team in charge of developing the system. Story estimates simply refer to the collection of smaller tasks that together make up a more comprehensive user story [http://pg-server.csc.ncsu.edu/mediawiki/index.php?title=CSC/ECE_517_Fall_2010/ch6_6c_AW#References [1]. | ||
===Based on Velocity=== | ===Based on Velocity=== |
Revision as of 21:24, 17 November 2010
Estimation in Agile Projects
Introduction
Purpose of Estimation
Estimation is an essential element of any and every software development process. It can not only be utilized with respect to internal development and determining how to proceed on the programming side, but also with respect to interacting in a professional and honest manner with a customer. To that end, any estimation must also provide the ability to plan releases: thus, not only predict progress but also generate an accurate timeframe for deliverables.
The agile development methodology with respect to estimation centers around a few key concepts: a brief process, one that allows for adaptation and ambiguity, and yet one that provides useful information and progress reports [1]. Breaking the areas of estimation down further, three direct applications (purposes) can be identified: daily plans, iteration plans, and release plans. (three inner circles, find source!)
Types of Estimation
The primary step in estimating agile projects relies on the idea of a user story. As seen previously in Chapter 4a, Use Cases, a use case is a description of a sequence of possible actions undergone when a user interacts with the system [2]. A user story is essentially the same as a use case, but is worded in a more business-friendly manner [3]. For example,
Starting Application When the user starts the application, it begins by bringing up the login page.
This type of specification, in contrast to the more software-oriented terminology, is fully in accordance with the emphasis that agile development places on close cooperation with the customer during all stages of development.
Based on Size
With the user stories approach, the idea is to create small portions of what the system can do in relation to the user, and use these portions to estimate the size of a project (or iteration, release, etc). Story points are defined as the essential unit of measurement for a user story. Because of the desire to keep things flexible, the exact definition of a story point unit will vary from team to team and from project to project. Common ways to define them are as an ideal day or week of work or as one degree of complexity of a user story. Due to these varied meanings, it has been suggested that story points are measured in NUTs, or Nebulous Units of Time [4].
Each individual programmer can be assigned tasks to do based on these story points that measure the user stories, breaking down the larger project into manageable units that can be completed individually. Story estimates as a whole, however, are completed and owned by the team in charge of developing the system. Story estimates simply refer to the collection of smaller tasks that together make up a more comprehensive user story [1.
Based on Velocity
Velocity is a familiar physical concept: it is the speed and direction of an entity. In the agile software development sense, velocity refers to the rate of progress for a project. This can be measured in a few different ways, depending on what size estimations (as discussed above) are used, but the most common way is simply to define velocity as the number of story points completed (not in progress) per iteration [5]. The velocity can be roughly translated as much work an individual or team can take on per iteration, providing an excellent guideline for estimating how to break down the whole project into manageable parts.
Estimation Techniques
The ways of engaging in an estimating session are about as numerous as the methods of developing the software itself. For an agile methodology, it is important to always concentrate on those basic desires of speed and flexibility, as well as heavy interaction among teammates and with the customer. The following techniques highlight what are considered best practices by experts in agile software development, but are by no means a comprehensive list of procedures.
Planning Poker
Derived from the Wideband Delphi estimation method, planning poker is a "consensus-based technique for estimating, mostly used to estimate effort or relative size of tasks in software development" [6]. Pulling from the Wideband Delphi ideas of generating a consensus from all participants involved, planning poker throws the steps of estimating size, time, and effort to accomplish sections of a system into the framework of a game: poker! The way to play is simple: after discussing each user story, every player selects a numbered card from their deck that represents the agreed-upon unit of measurement (for example, number of story points). All individual estimates are kept secret until everyone has chosen, then all estimates are revealed and examined for consistency.
Image from PlanningPoker.com [7]
If estimates are the same group-wide, the hand is over and the team has decided upon a value for that user story. If the estimates vary widely, then more discussion is necessary, followed by another round of planning poker conducted in the same fashion as described above [8]. This extremely popular method can be employed online, with a pack of specialized cards, or in other make-shift fashions; it is a quick and simple technique to efficiently reach a consensus that will accurately estimate software development tasks.
Burn-down Charts
Re-estimation
Comparison
General
Formal models
Summary
References
[1] Cohn, M. User Stories Applied: For Agile Software Development, Addison-Wesley Professional, 2004.
[2] CSC/ECE 517 Fall 2010/ch4 4a RJ, Retrieved October 15th, 2010, from Textbook Wikipedia page: http://pg-server.csc.ncsu.edu/mediawiki/index.php/CSC/ECE_517_Fall_2010/ch4_4a_RJ
[3] User Story and Use Case Comparison, Retrieved November 13th, 2010, from http://www.c2.com/cgi/wiki?UserStoryAndUseCaseComparison
[4] Joshua Kerievsky on extremeprogramming@yahoogroups.com, August 5, 2003.
[5] Guideline: Agile Estimation, Retrieved November 16th, 2010, from EclipseWiki: http://epf.eclipse.org/wikis/openup/core.mgmt.common.extend_supp/guidances/guidelines/agile_estimation_A4EF42B3.html
[6] Planning Poker, Retrieved November 14th, 2010, from Wikipedia: http://en.wikipedia.org/wiki/Planning_poker
[7] Planning Poker, Retrieved November 14th, 2010, from http://www.planningpoker.com
[8] Cohn, M. Agile Estimation and Planning, Addison Wesley Longman, 2005.