星期一, 1月 01, 2007

軟體測試的分類

從測試內容與實作細節有沒有關係來做區分:


  • White-Box Test: 測試內容只與軟體介面有關
  • Black-Box Test: 測試內容除了與軟體介面有關之外,還與特定實作有關

從測試的層級來區分(單一開發者-->多開發者-->專案-->客戶)

  • Unit Test: 測試單一元件
  • Integration Test: 測試多個元件
  • System Test: 測試整個系統
  • Acceptance Test: 測試客戶需求
    • Alpha Test: 公司內部模擬客戶來測試需求
    • Beta Test: 由實際客戶來進行測試

從目的來定義

  • Regression Test:
    根據Wikipedia:
    • 任何用來發掘regression bugs的測試都叫做regression test
      (Regression testing is any type of software testing which seeks to uncover regression bugs)
    • 當原先正常功能後來被改壞掉時,我們稱之產生了一個regression bug
      (Regression bugs occur whenever software functionality that previously worked as desired stops working or no longer works in the same way that was previously planned)