software testing

software testing

ID:1273419

大小:997.50 KB

页数:120页

时间:2017-11-09

software testing_第1页
software testing_第2页
software testing_第3页
software testing_第4页
software testing_第5页
资源描述:

《software testing》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、Chapter6 SoftwareTesting助教翻譯Chapter6 SoftwareTesting6.1SoftwareTestingFundamentals軟體測試基礎6.1.1WhatisSoftwareTesting何謂軟體測試6.1.2VerificationandValidation驗證與確認6.1.3TheVModelV模型6.2TestingPrinciples測試原則6.3TestingTechniques測試技術6.3.1White-BoxTestingTechniques白箱測試6.3.2Black-BoxTe

2、stingTechniques黑箱測試Chapter6 SoftwareTesting(cont’d)6.4SoftwareTestingStrategies軟體測試策略6.4.1UnitTesting單元測試6.4.2IntegrationTesting整合測試6.4.3SystemTesting系統測試6.4.4AcceptanceTesting驗收測試6.5Object-OrientedTesting物件導向測試ReferencesSoftwareTestingFundamentals軟體測試基礎Whatissoftwaretes

3、ting?什麼是軟體測試Myers:Theprocessofexecutingaprogramwiththeintentoffindingerrors.一個為了找出錯誤而執行程式的程序Beizer:Theactofdesigningandexecutingtests.一個設計與執行測試的動作Whittaker:Theprocessofexecutingasoftwaresystemtodeterminewhetheritmatchesitsspecificationandexecutesinitsintendedenvironment一

4、個用來檢視是否符合(需求)規格並於設定的環境執行軟體系統的程序IEEE:Theprocessofoperatingasystemorcomponentunderspecifiedconditions,observingorrecordingtheresults,andmakinganevaluationofsomeaspectofsystemorcomponent.於特定的條件下操作一個系統或元件,觀察或記錄結果,以評估系統或元件是否有某方面的問題SoftwareTestingFundamentals(cont’d)Whydowetes

5、t?為何要測試Tocheckifthereareanyerrorsinapartoraproduct.檢查產品或某部分是否有錯誤Togaintheconfidenceinthecorrectnessoftheproduct.增加對產品正確的信心程度Toensurethequalityandsatisfactionoftheproduct確保產品品質與滿意度Testingvs.debugging測試vs.除錯Testingistoshowthataprogramhasbugs測試只是證實程式有無錯誤Debuggingistolocatea

6、ndcorrecttheerrorormisconceptionthatcausetheprogramfailures除錯是找到錯誤所在並改正錯誤SoftwareTestingFundamentals(cont’d)WhoTeststheSoftware?誰來測試軟體Developmentengineers開發人員Understandthesystem,buttest“gently”了解系統,但客氣地測試Drivenby“delivery”以釋出為目的Onlyperformunittestsandintegrationtests一般只做

7、單元測試及整合測試Testengineers測試工程師(負責系統測試)Needtolearnthesystem,butattempttobreakit需要瞭解系統,但想盡辦法破壞系統Drivenby“quality”以品質為目的Definetestcases,writetestspecifications,runtests,analyzeresults設計測試案例、寫測試規格、執行測試、分析測試Customers客戶(負責驗收測試)Drivenby“requirements”需求為目的Determineifthesystemsatisf

8、iestheacceptancecriteria決定系統是否滿足驗收標準TestCases測試案例Usuallyatestcaseincludesinputdataandexpectedresults.通常

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。