Bug的基本屬性

來源:互聯網
上載者:User

<由於本文章是依據微軟的產品總結而來,僅供學習交流之用,任何商用都是被禁止的,後果自負!>

在測試中,如果我們發現了產品的Defect,我們就要報Bug,那麼Bug都有哪些基本屬性呢?在微軟是這樣定義的。

 

對於一個Bug,以下的屬性是必須的:

  • General
    1. ID - 對於每個Bug來說都是唯一的,一旦一個新Bug被File成功,那麼系統將自動產生一個獨一無二的ID。
    2. Title - 就是對Bug的簡單描述,如果Developer通過Title就能明白Bug到底是什麼意思,那麼這個Title就是好Title。
    3. Area Path - 在何處發現了該Bug,或者說該Bug屬於哪一個Component,XML, QP, QE, AM, TS等等。
    4. Iteration Path - 在何時發現了該Bug,CTP1, CTP2, RC, RTM等等。
    5. History - 一切對Bug的更改都反映在History中,包括何時何人做了何事。
    6. Description - 對Bug的詳細描述,也是對Title描述的一種補充。
    7. Repro - 既然報的是Bug,就必須提供重現步驟給Dev,讓他們能按照你所提供的Repro Step去重現Bug。
    8. Attachments - 很多測試都有Log,可以把錯誤時的Log資訊Attach上去,讓Dev能更方便更深入地研究問題所在。
  • Status
    1. Assigned To - 該Bug是給誰的,或者說該Bug應該有哪個Dev來Fix。
    2. State - Bug當前的狀態,包括Active和Resolved。
    3. Issue Type - 主要有Code, Test兩種,也可以包括其他,比如Design, Specification, DCR等等。
    4. Impact - 該Bug影響了哪些方面,包括Functionality, Test, Localizaion, Logo, UI等等。
    5. Severity(數字越小,嚴重性越大)
      • (1)- System crash, data loss, incorrect results
      • (2)- Major functionality or other severe problems; product crashes in obscure cases
      • (3)- Fit and finish issues
      • (4)- Typos, incorrect wording in obscure areas of the product
    6. Priority(數字越小,優先順序越高)
      • (0)- Blocking: BVT, Autobuilder, build break, unusable
      • (1)- Key scenario: embarrassing, PSS involved
      • (2)- Important scenario: before any release
      • (3)- Some customers: no PSS or newsgroups; before RTM
      • (4)- May fix if not destabilizing
  • Created
    1. Created Date - 系統自動提供,File Bug時的時間。
    2. Created By - 系統自動提供,File Bug的那個人的名字。
    3. Source - Who discovered it? Test Team, Dev Team, 還是Location Team等等。
    4. How Found - How the problem was discovered? Automation testing, Ad Hoc testing, 還是Bug Bash等等。
  • Resolved
    1. Resolved Date - 系統自動提供,Resolve該Bug時的時間。
    2. Resolved By - 系統自動提供,Resolve該Bug的人。
    3. Resolution - 解決方案是什嗎?By Design, Duplicate, External, Fixed, Not Repro還是Won't fix。
    4. Test ID - 哪一個Test Case發現的該Bug。
  • Misc
    1. Branch - Branch the problem was discovered in
    2. Build - Build the problem was discovered in
    3. Test Custom - Freeform tagging field for testing

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.