[Agile Thailand 2012] Release planning & estimation the agile way
-
Upload
sinapam -
Category
Technology
-
view
1.656 -
download
4
description
Transcript of [Agile Thailand 2012] Release planning & estimation the agile way
![Page 1: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/1.jpg)
Release planning & Estimation the Agile Way
![Page 2: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/2.jpg)
The Bible
บทท 1, 2, 3, 4, 6, และ 23 (Case Study)
![Page 3: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/3.jpg)
ท ำไม Plan แบบเกำถง Fail
• Plan ดวย activities
o activities ไมไดเกยวโดยตรงกบ Feature
o activities ไมเคยเสรจกอนเวลำ o activities หลงตองรอ activities ขำงหนำเสรจกอน
o ถำ activities ดำนหนำชำ ทเหลอกจะชำตำมกนไปหมด
• ไมไดเนนกำรท ำ Feature ทส ำคญทสดกอน
• หลอกตวเองวำ Plan นเจงทสดแลว และท ำตำมมนอยำงเครงครด
o เสรจวนท xx/xx/xx แนนอน!
• ไมไดรวมควำมไมแนนอนเขำไปใน Plan
o บำงคนกอำจจะรวมดวยกำรใส buffer เอำ <-- แตนมนกนงเทยนเอำชดๆ
![Page 4: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/4.jpg)
ท ำไม Plan แบบ Agile ถง Work
• สรำง Plan ทรวำใชไดตอนน แลวก update มนอยเรอยๆ
• จบ Effort ทใชในกำรท ำงำน กบเวลำในกำรท ำงำนแยกออกจำกกน
o มนไมเกยวกนจรงๆนะ
• ม Plan หลำยๆ level
o level สงๆ กไมตองละเอยดมำก เสยเวลำ • บอกอยำงชดเจนวำมนมควำมไมแนนอนอยนะ
• Plan ดวย Features ไมใช Activities
• ใหควำมส ำคญกบควำมส ำคญ
• มนโปรงใส!
![Page 5: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/5.jpg)
User Stories
• เขยน requirement จำกมมมองของผไดประโยชนจำก requirement นนๆ โดยใชภำษำทใครๆกไดเขำใจ
• As a <stakeholder>, I want <goal> so that <reason>.
• Exit Criteria
• Estimate
• Discussion
![Page 6: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/6.jpg)
A User Story
![Page 7: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/7.jpg)
I.N.V.E.S.T.
Independent
จบไดดวยตวเอง Negotiable
จะเอาจกรยาน รถเบนซ หรอยานอวกาศ
Valuable
มคณคา Estimable
estimate ได
Small
เลกทสดเทาทจะท าได ในเวลานนๆ
Testable
test ได
![Page 8: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/8.jpg)
ใหทำยวำผพดสงเทำไหร
จะเลนตวเองท ำไมมทรำบ
![Page 9: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/9.jpg)
ทำยวำผพดสงเปนกเทำของโตะ
![Page 10: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/10.jpg)
Story Points
• Relative estimate
o อนนเปนกเทำของอนนนนำำ?
• คดรวมทง Dev และ Test
o จงพงคดอยเสมอวำ งำนจะไมเสรจถำไมผำน test
• เลอกใชเซตของตวเลขทจะไมท ำใหตองมำนงเถยงกนดวยควำมตำงเลกๆนอย ๆ
o ญาต Fibonacci : 1, 2, 3, 5, 8, 13, 21, etc…
o Cohn's : 0, ½, 1, 2, 3, 5, 8, 13, 20, 40, 100, ?
o Simple : 0, 1, 2, 3, 5, 8, BIG
• มนไมไดเกยวอะไรกบจ ำนวนวน ณ ตอนท estimate
![Page 11: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/11.jpg)
Planning Poker
![Page 12: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/12.jpg)
วธเลน Planning Poker
1. ทกคนมกำรด Planning Poker 1 ส ำรบ
2. Facilitator อำนรำยละเอยดของ User Story ทตองกำรจะ vote
3. Facilitator เปดโอกำสใหทกคนถำมค ำถำม เพอใหเขำใจ story มำกขน
4. เมอทกคนพรอมทจะ vote ใหแตละคนเลอกกำรดของตวเองไว ไมบอกใคร
5. Facilitator ใหสญญำณ เพอใหทกคน show กำรดของตวเองออกมำพรอมๆกน
6. ถำมคนไมตรง ใหคนทใหมำกทสดกบนอยทสด พดวำท ำไมตวเองถงใหเทำนน
7. เมอเขำใจกนมำกขน กให vote ใหม
8. ท ำจนกวำทกคนจะ vote เหมอนกนหรอสำมำรถยอมรบคำใดคำหนงได
![Page 13: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/13.jpg)
Velocity & Release Planning
• Velocity คอ คำเฉลยของจ ำนวน story points ทท ำไดตอ iteration
o ในวนแรกของกำรท ำ project เรำอำจจะใช estimated velocity แตพอท ำไปซกพก ตองใชคำเฉลยจรง
• Release คอ เซตของ User Stories ทควรคำตอกำรน ำออกไปสสำยตำสำธำรณะชน
• Velocity จะเปนตวทน ำไปสกำรบอกวำ Release นจะเสรจเมอไหร
o กำรเดำ vs กำรคนพบ
![Page 14: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/14.jpg)
สงส ำคญในกำร Plan Release
• เลอกวำจะเอำ stories ไหนเขำ release บำง
o อะไรทจะเปนเปำหมำยของ release น
• ไดท ำกำร estimate user stories ไวเรยบรอย
• เลอกระยะเวลำของ iteration
o iteration ควรจะมควำมยำวคงททง release
• เลอก estimate velocity
o ยงไมรวำของจรงจะเปนเทำไหร
o ใชจำกในอดตของ project ทใกลเคยงกนกได
o ค ำนวณจำก stories ทคดวำนำจะท ำไดใน 1 iteration
• ตองมกำรจดล ำดบควำมส ำคญของ stories ไวดวย
• อยำใชเวลำในกำรลง details กบสงทไมจ ำเปนส ำหรบกำร plan
release
o อยำจบ story ยดใส iteration หรอ ใสมอใคร
![Page 15: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/15.jpg)
ถง Release
![Page 16: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/16.jpg)
Prioritization
• หวใจของกำรท ำ Agile อยำงหนงคอกำรจดล ำดบควำมส ำคญของ Feature
o เรำมกจะมของทใหท ำ มำกกวำเวลำทมเสมอ
o ใหนกไวเสมอวำ ตงคจะหมดไดทกเมอ
• จดล ำดบควำมส ำคญโดย
o ท ำสงทให Value กบลกคำมำกทสดกอน
o ท ำสงทมควำมเสยงสงกอน เชน ของทไมรวำจะท ำไดจรงรเปลำ o ท ำสงทจะเพมควำมรใหน ำไปใชในภำยภำคหลงได
![Page 17: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/17.jpg)
Burndown Chart
• สงส ำคญมำกๆๆๆ ทจะตอบโจทยเรอง
o กำร update plan อยำงสม ำเสมอ
o ควำมโปรงใส
o ทกคนเหนภำพเดยวกนของ release
• กรำฟ
o แกน X: เวลำ o แกน Y: จ ำนวน story points ของ release ทยงท ำไมเสรจ ณ
เวลำใดๆ
![Page 18: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/18.jpg)
Burndown Chart (simple)
![Page 19: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/19.jpg)
Burndown Chart (fancy)
![Page 20: [Agile Thailand 2012] Release planning & estimation the agile way](https://reader034.fdocument.pub/reader034/viewer/2022051514/548fef31b4795927058b4fdc/html5/thumbnails/20.jpg)
สรป
• เขยน requirement ดวย user stories
• ใช relative estimate e.g. story points
• จดล ำดบควำมส ำคญของ user stories ทจะเอำเขำมำใน
release และคอยจดใหมตำมควำมเปนจรงนะปจจบนอยำงสม ำเสมอ (หนำท Product Owner)
• Update Burndown Chart ทกๆ iteration และใชเปนเครองมอสอสำรเพอใหทกคนเหนภำพของ release
ตรงกน