Software Testing Verification and Validation:软件测试验证和确认
Ch.19 – Verification & Validation Software Testing: Verification and Validation Verification “Are we building the product rightValidation “Are we building the right productBarry Boehm, 1979 Verification and ValidationTechniques Static Techniques Software Inspections(against source code) Dynamic Techniques Software Testing(requires executable program) Verification and ValidationStatic techniques Software Inspections of requirements documents of design documents (design reviews) of source code (code reviews) automated static analysis Verification and ValidationDynamic techniques Software Testing specification vs. implementation Defect testing [Ch.20] verifying non-functional requirements (e.g. performance; reliability) Statistical testing [Ch.21] automated dynamic analysis (if applicable) Verification and ValidationGoals Establish that software is fit for purpose,not “bug-free” “Good enough” depends on: Software function (critical natureUser expectations Market competition, price Testing vs. Debugging Verification and Validation looking and categorizing existence of system defects [example] [bug list] “WhatDebugging locating and correcting these defects “WhyRegression Testing Canned test runs to verify that new defects were not introduced during “debugging” session. Not exhaustive Targeted to a particular interface components, sub-systems, integrated system Different levels (lengths) of regression tests Targeted regressions The Test Plan Planning should begin right after requirements specification Acceptance tests can be written then System, sub-system tests can be written against designs The Test Plan Software Inspections (code reviews) >60% of program errors can be detected in code review [Fagan86] >90% if more formal approach used (e.g. “Cleanroom” process) [Mills87] (We’ll talk about Cleanroom later) Software Inspections (code reviews) Why are reviews more effective for finding defects in systems/subsystems (i.e., before acceptance tes
相关资源:3D建模软件(绿色版)_3d建模用什么软件好-专业指导文档类资源-CSDN…
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!