PIXNET Logo登入

David Ko的學習之旅

跳到主文

歡迎光臨 David Ko 在痞客邦的小天地

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 1月 27 週二 200917:41
  • 如何找出Definition of Done (DoD)?


如何找出Definition of Done (DoD)?

"Done"這個東西, 常常是每個role有自己的想法, 因此這裡常常是誤解的根源. 而在Scrum中, 它是非常關鍵的一個要素, 特別強調大家對"Done"這東西, 要有一致的認知. 這樣每個iteration的進行才會更有效率, 更能確認是否真的滿足customer的需求.

這裡我看到一個blog上寫著, 他們team如何來找出DoD的步驟:

Step 1 – Brainstorm:
- Take a Pen and Sticky Note pad
- Write on the sticky notes what they believed was part of achieving the objective written on the whiteboard
- Place the sticky note in the centre of the table and read out aloud their idea
- No idea is to be criticized!

Step 2 – Categories
- Discuss what categories should be used to facilitate our DoD
- Category Example:
    a. Release
    b. Sprint
    c. User Story

Step 3 – Categorise
- Take the sticky notes from the table and place them into the categories

Step 4 – Sorting:
- If we believed that two or more ideas where similar or overlapped.  We overlap the sticky notes.
- Where ideas no longer seem valid, has lost their context or simply made no sense we move these to another area outside of the categories.

Step 5 – Review:
- Review each of the sticky notes to analyse the meaning
- Query if the idea was required to be done?  Is it in the correct category?
- The definitions could be rewritten and consolidated after dicussion

Step 6 – Document:
- You could place a printed version in the team work space or project wiki


這裡我收集了一些DoD的定義, 來供大家參考.

(1) User Story 做完的定義
Example 1:
   A. All story should have automated acceptance test.
   B. The story should have working code supported by unit test that provide around 60 - 70 percent coverage.
   C. The story should have well defined acceptance criteria.
   D. The code must have been written as a pair or should be code reviewed.
   E. Code must be completely checked in to the source control system and the build should pass with all the automated tests running.
   F. The product owner must accept the story.
Example 2:
    A. All tests for acceptance criteria identified, written, tested and passed
    B. Unit tests for story written and passed
    C. Continuous integration build is working with checked-in source code
    D. All source code for user story checked-in to source control
    E. Completed all tasks associated with user story
    F. Code coverage of 80% achieved
    
(2) Sprint 做完的定義
Example 1:
   A. Product owner should have defined a sprint goal.
   B. All stories completed for the spring must be accepted by the product owner
   C. All the automated acceptance tests should be running for the stories in the sprint.
   D. All code should have been pair progrmmed or must have gone thorough a code review process.
   E. If there is a database involved, the database scripts must have been automated and tested.
Example 2:
    A. All automated tests passed
    B. Documented all user stories completed in sprint
    C. Regression testing passed
    D. Done all agreed user stories
    
(3) Release 做完的定義
Example 1:
   A. Product is deployed to the test box and makes it to staging
   B. Product has a formal release date.
   C. There are deployment documents for the release
   D. Training manuals are available for users.
   E. All stories for the release are completed and accepted.
   F. The release does not have any level one bugs.
Example 2:
    A. User documentation written and delivered
    B. Create branch for release and deploy from it
    C. Deliver source code to client
    D. Pass FX Cop(a free static code analysis tool) to appropriate level


Reference
1. What is definition of done?  
http://agilefaq.net/2007/10/24/what-is-definition-of-done/
2. Definition of Done?
http://blogs.imeta.co.uk/CSkipper/archive/2008/10/21/459.aspx
(繼續閱讀...)
文章標籤

kojenchieh 發表在 痞客邦 留言(0) 人氣(837)

  • 個人分類:Agile Concept
▲top
  • 12月 08 週一 200809:56
  • 如何找出Legacy Code中的Bad Smells


如何找出Legacy Code中的Bad Smells

Smells Like Legacy Code
http://www.testearly.com/2006/12/14/smells-like-legacy-code/

如果你要知道你程式碼中的健康狀態, 你要如何檢查呢?

就像身體健康檢查一樣, 你必要知道你想檢查哪些問題(肝臟, 心臟或是過敏等等), 接著再看有哪些index可以呈現相關的狀態, 然後健檢人員會使用工具來做檢查, 最後你就會拿到一堆數據, 並且告訴你在哪個範圍內是好的, 還是有問題的. 如果真的是有問題, 醫生還會告訴你, 要做什麼事情會讓情況好轉.

對於程式碼也是一樣的, 你要先知道你想看的bad smells是什麼, 接著就看有怎樣的index, 可以表達目前的狀態如何. 然後你就用一些tools來parse source codes, 看看它的狀態如何. 如果不是很好, 這時候一些refactoring 或是design pattern, 便可以來應用看看.

作者列了三個samples讓大家看看, 並且告訴大家說他已經開始收集這些資料, 希望他功能圓滿的那天, 可以分享給我們知道.
1.
Smell: Conditional Complexity
Measure: Cyclomatic Complexity
Tools: IDE, CCMetrics, Source Monitor, JavaNCSS, Eclipse Metrics
Refactoring: Extract Method, Extract Class, Replace Conditional with Polymorphism
Pattern: Abstract Factory, Strategy

2.
Smell: Long Method
Measure: Number of Lines in Method
Tools: IDE, PMD, Eclipse Metrics, CheckStyle, Source Monitor, FxCop
Refactoring: Extract Method
Pattern: Abstract Strategy

3.
Smell:
Measure: Depth of Inheritance (DIT)
Tools: IDE, PMD, Source Monitor
Refactoring: Replace Inheritance with Delegation, Pull Up/Push Down Method
Pattern: Delegation


(繼續閱讀...)
文章標籤

kojenchieh 發表在 痞客邦 留言(0) 人氣(190)

  • 個人分類:Agile Concept
▲top
  • 11月 12 週三 200808:26
  • 當你遇到"程式碼就是文件"時, 要如何進行測試


當你遇到"程式碼就是文件"時, 要如何進行測試
Testing when "the code is the documentation"
http://blogs.msdn.com/joshpoley/archive/2008/09/03/testing-when-the-code-is-the-documentation.aspx
(繼續閱讀...)
文章標籤

kojenchieh 發表在 痞客邦 留言(0) 人氣(107)

  • 個人分類:Agile Concept
▲top
  • 8月 31 週日 200818:22
  • Agile is All About Feedback


Agile is All About Feedback
http://www.io.com/~wazmo/blog/archives/2008_08.html#000285
這是Bret Pettichord寫的一篇文章, 道盡了Agile的精髓. 我之前雖然有隱約這樣想過(有點馬後炮), 但是看到這篇文章之後, 覺得深深大獲我心. 在此整理了 一下, 跟大家分享
(繼續閱讀...)
文章標籤

kojenchieh 發表在 痞客邦 留言(0) 人氣(24)

  • 個人分類:Agile Concept
▲top
«1...2021

文章搜尋

熱門文章

  • (81,343)焦點討論法 (ORID)
  • (19,194)KJ 親和圖法二三事
  • (13,554)設計觀點 (POV, Point of View) 和使用者故事的比較
  • (11,141)Test Case所涵蓋的範圍足夠了嗎?
  • (9,384)測試計劃該寫什麼?
  • (5,917)什麼是Definition of Done (DoD)?
  • (5,540)什麼是精實創業?
  • (3,971)Cyclomatic Complexity
  • (3,099)你所應該知道的BVT
  • (1,637)Feature Driven Development 簡介

最新留言

  • [24/06/28] 訪客 於文章「你吃的藥或營養品,真的有被吸收了嗎?...」留言:
    改善便秘有很健康的方式 平常水分充足之外,纖維素也得要有 ...
  • [24/04/24] 訪客 於文章「(轉載) 為什麼會造成便秘呢?...」留言:
    謝謝分享資訊~ 改善便秘除了平常水分充足之外,纖維素也得要...
  • [23/11/16] 訪客 於文章「過敏的中醫療法...」留言:
    過敏症狀跟免疫力息息相關 除了平常良好的飲食生活習慣及規律...
  • [23/11/06] 訪客 於文章「視力保健...」留言:
    謝謝分享資訊~ 保護眼睛除了減少使用3C產品之外 幫助眼...
  • [23/09/06] 訪客 於文章「QA的迷失: "沒有spec我們無法進行...」留言:
    不就是PM把自己該做好的工作扔給RD QA做嗎? 專案越大牽...
  • [23/04/20] Mina 於文章「如何以探索性作法高效測試...」留言:
    好喔那再麻煩老師到時候提供時間謝謝您...
  • [23/04/18] Mina 於文章「如何以探索性作法高效測試...」留言:
    老師您好~不好意思這堂課除了5/20還會有規畫其他的日期上課...
  • [22/04/21] Max 於文章「如何寫出人人有共識的需求 - 範例描述...」留言:
    第一梯沒跟到,第二梯有計劃哪時開嗎? 謝謝...
  • [22/04/06] 訪客 於文章「谷歌創新寶劍: 設計衝刺體驗營...」留言:
    回饋您這方面資訊,我是從 PTT搜尋引擎的排名,看...
  • [21/08/10] jwang0189 於文章「如何寫出人人有共識的需求 - 範例描述...」留言:
    非常實用的文章,謝謝提供,已點廣告表示支持 https://...

個人資訊

kojenchieh
暱稱:
kojenchieh
分類:
不設分類
好友:
累積中
地區:

動態訂閱

文章分類

  • 正念 (2)
  • DevOps (13)
  • Agile HR (1)
  • 課程介紹 (26)
  • retrospective (15)
  • 敏捷需求探索 (22)
  • 自媒體 (2)
  • TOC (4)
  • Google Sprint (31)
  • 敏捷轉型 (68)
  • LeSS (5)
  • Kanban Experience Report (20)
  • 引導/教練 (29)
  • Spotify (4)
  • Pretotyping (7)
  • Lean Startup (22)
  • Impact Mapping (4)
  • Agile UX (35)
  • Kanban (115)
  • Lean from the Trenches (11)
  • Estimation (7)
  • Scaling & Distributed Agile (9)
  • Standup Meeting (18)
  • Feature Team (10)
  • scrum教學 (5)
  • 過敏 (9)
  • 魚油 (3)
  • Hadoop (1)
  • Scrum入門手冊 (4)
  • Kanban and Scrum (44)
  • 健康 (46)
  • TDD (41)
  • Cloud Computing (1)
  • 我的Scrum新體驗 (4)
  • Innovation (14)
  • Testing Books/Magazine/WebSite (12)
  • Regression Test (6)
  • 測試管理 (19)
  • 讀書心得 (27)
  • User Story (19)
  • Continuous Integration (16)
  • Scrum (126)
  • 勵志 (46)
  • Agile Concept (204)
  • MS Server (3)
  • Scrum and XP的實戰經驗 (65)
  • Performance Testing (38)
  • Agile Testing (41)
  • 投資理財 (25)
  • Exploratory Testing (22)
  • C# (1)
  • 專案管理 (25)
  • 測試自動化 (62)
  • 測試基本知識 (108)
  • 未分類文章 (1)

文章精選

參觀人氣

  • 本日人氣:
  • 累積人氣: