測試的分類

軟件測試可以分別按測試範圍,測試目的,測試對象,測試過程分類.
 
1.按測試範圍分類
單元測試(unit testing)
組件測試(component testing)
集成測試(integration testing,string testing)
系統測試(system testing)
驗收測試(acceptance testing,beta test)
安裝測試(installation testing)
 
2.按測試目的分類
正確性測試(correctness testing)
   白盒測試(white-box)
   黑盒測試(black-box)
性能測試(performance testing)
可靠性測試(reliability testing)
   強壯性測試(robustness, strong testing)
   異常處理測試(exception handling testing)
   負載測試(stress, loading testing)
安全性測試(security testing)
 
3.按測試對象分類
單元測試(unit testing)
組件測試(component testing)
模塊測試(module testing)
程序測試(program testing)
系統測試(system testing)
文檔測試(documentation testing)
 
4.按測試過程分類
需求階段的測試(requirements phase testing)
設計階段的測試(design phase testing)
程序階段的測試(program phase testing)
測試結果的評估(evaluating test results)
安裝測試(installation phase testing)
驗收測試(acceptance testing)
測試變化:維護(testing changes:maintenance)
 
5.其它測試技術和方法
回歸測試(regression testing):為保證軟件中新的變化(修改)不會對原有功能的正常使用有影響而進行的測試.也就是說,已經滿足用戶需求的功能不應該出現任何問題.每當軟件缺陷被修改之後,或者對原有功能進行一些調整和加強,或者是在原有版本基礎上增加新功能的時候,都會採用回歸測試方法,特別是到了開發週期的最後階段.回歸測試,更適於使用軟件自動化測試工具.
 
壓力測試(stress testing):用來檢查系統在大負荷條件下的運行情況.在非正常的巨大負荷下,某些動作和輸入大量重複,輸入大數,對數據庫進行非常複雜的查詢等(如測試一個網站在不同負荷情況下的狀況),以確定在什麼情況下系統響應速度下降或是出現故障.也稱為性能測試(performance testing).
 
恢復測試(revovery testing):在系統崩潰,硬件故障,或者其他災難發生之後,重新恢復系統和數據的能力測試.
 
安全測試(security testing):測試系統在應付非授權的內部/外部訪問,故意損壞時的系統防護能力.
 
兼容性測試(compatibility testing):測試在特殊的硬件/軟件/操作系統/網路環境下的軟件表現.
posted @ 2009-01-21 08:51  道场  阅读(188)  评论(0)    收藏  举报