Forward: Verification and validation (software)

来源:互联网 发布:天津商业大学网络登录 编辑:程序博客网 时间:2024/05/16 10:31

In software project management, software testing, and software engineering, verification and validation (V&V) is the process of checking that a software system meets specifications and that it fulfills its intended purpose. It may also be referred to as software quality control. It is normally the responsibility of software testers as part of the software development lifecycle.

Contents

  [hide] 
  • 1 Definitions
  • 2 Related concepts
  • 3 Classification of methods
    • 3.1 Test cases
  • 4 Independent Verification and Validation
  • 5 Regulatory environment
  • 6 See also
  • 7 Notes and references
  • 8 External links

Definitions[edit]

Validation checks that the product design satisfies or fits the intended use (high-level checking), i.e., the software meets the user requirements. This is done through dynamic testing and other forms of review.

Verification and validation are not the same thing, although they are often confused. Boehm [1] succinctly expressed the difference between

  • Validation: Are we building the right product? (This is dynamic process for checking and testing the real product. Software validation always involves with executing the code)[citation needed])
  • Verification: Are we building the product right? (This is static method for verifying design,code. Software verification is human based checking of documents and files)[citation needed])

According to the Capability Maturity Model (CMMI-SW v1.1),

  • Software Validation: The process of evaluating software during or at the end of thedevelopment process to determine whether it satisfies specified requirements. [IEEE-STD-610]
  • Software Verification: The process of evaluating software to determine whether the products of a given development phase satisfy the conditions imposed at the start of that phase. [IEEE-STD-610]

In other words, software validation ensures that the product actually meets the user's needs, and that the specifications were correct in the first place, while software verification is ensuring that the product has been built according to the requirements and design specifications. Software validation ensures that "you built the right thing". Software verification ensures that "you built it right". Software validation confirms that the product, as provided, will fulfill its intended use.

From testing perspective:

  • Fault – wrong or missing function in the code.
  • Failure – the manifestation of a fault during execution.
  • Malfunction – according to its specification the system does not meet its specified functionality.

Related concepts[edit]

Both verification and validation are related to the concepts of quality and of software quality assurance. By themselves, verification and validation do not guarantee software quality; planning, traceability,configuration management and other aspects of software engineering are required.

Within the modeling and simulation (M&S) community, the definitions of validation, verification and accreditation are similar:

  • M&S Validation is the process of determining the degree to which a model, simulation, or federation of models and simulations, and their associated data are accurate representations of the real world from the perspective of the intended use(s).[2]
  • Accreditation is the formal certification that a model or simulation is acceptable to be used for a specific purpose.[2]
  • Verification is the process of determining that a computer model, simulation, or federation of models and simulations implementations and their associated data accurately represent the developer's conceptual description and specifications.[2]

The definition of M&S validation focuses on the accuracy with which the M&S represents the real-world intended use(s). Determining the degree of M&S accuracy is required because all M&S are approximations of reality, and it is usually critical to determine if the degree of approximation is acceptable for the intended use(s). This stands in contrast to software validation.

Classification of methods[edit]

In mission-critical software systems, where flawless performance is absolutely necessary, formal methods may be used to ensure the correct operation of a system. However, often for non-mission-critical software systems, formal methods prove to be very costly[citation needed] and an alternative method of software V&V must be sought out. In such cases, syntactic methods are often used.[citation needed]

Test cases[edit]

Main article: Test case

A test case is a tool used in the process. Test cases may be prepared for software verification and software validation to determine if the product was built according to the requirements of the user. Other methods, such as reviews, may be used early in the life cycle to provide for software validation.

Independent Verification and Validation[edit]

Software verification and validation often is carried out by a separate group from the development team. In such cases, the process is called "independent verification and validation", or simply IV&V.

Regulatory environment[edit]

Verification and validation must meet the compliance requirements of law regulated industries, which is often guided by government agencies[3][4] or industrial administrative authorities. For instance, the FDArequires software versions and patches to be validated.[5]

See also[edit]

Portal iconSoftware Testing portal
  • Compiler correctness
  • Cross-validation
  • Formal verification
  • Functional specification
  • Independent Verification and Validation Facility
  • International Software Testing Qualifications Board
  • Software verification
  • Software requirements specification
  • Validation (drug manufacture)
  • Verification and validation – General
  • Verification and Validation of Computer Simulation Models

Notes and references[edit]

  1. Jump up^ Boehm, B.W. (1989). Software Risk Management. IEEE Computer Society Press.
  2. Jump up to:a b c Department of Defense Documentation of Verification, Validation & Accreditation (VV&A) for Models and Simulations. Missile Defense Agency. 2008.
  3. Jump up^ "General Principles of Software validation; Final Guidance for Industry and FDA Staff" (PDF). Food and Drug Administration. 11 January 2002. Retrieved 12 July 2009.
  4. Jump up^ "Guidance for Industry: Part 11, Electronic Records; Electronic Signatures — Scope and Application"(PDF). Food and Drug Administration. August 2003. Retrieved 12 July 2009.
  5. Jump up^ "Guidance for Industry: Cybersecurity for Networked Medical Devices Containing Off-the Shelf (OTS) Software". Food and Drug Administration. 14 January 2005. Retrieved 12 July 2009.
  • Tran, E. (1999). "Verification/Validation/Certification". In Koopman, P. Topics in Dependable Embedded Systems. Carnegie Mellon University. Retrieved 2007-05-18.
  • Menzies, T.; Y. Hu (2003). "Data mining for very busy people". IEEE Computer 36 (1): 22–29.doi:10.1109/MC.2003.1244531.
0 0
原创粉丝点击