click2cloud-page-loader

V Model in Software Testing

2019-06-25 : BY CLICK2CLOUD-BLOG

The V-model is an SDLC model, where execution of processes happens in a sequential manner in a V-shape.

It is also known as Verification and Validation model. Among the many available testing models, the V model in software testing is the most widely used applied and accepted one. This model allows for a better-quality analysis with less discretionary errors. To overcome the cost and time issue of other software testing systems, v model has been developed.

What is V model software testing?

V model is also known as verification and validation software model is an SDLC (System Development Life Cycle) and STLC (System Testing Life Cycle) based where main execution process takes place in a sequential manner of v shape. V model is nothing but the extension of the waterfall model which is based on the association of the development phase and each of the corresponding testing phases. That means there is a direct link between the testing cycle and the development cycle. V model of software testing is highly specific model and movement to next only occur after completion of the first cycle.

In the V model, the testing phase and development phase are designed in such a way that they are planned parallel to each other. if we take alphabet V there is validation on one end and verification on the other end and the joining point of the both is the coding phase.

 

 

 

Difference between Verification and Validation:

Verification :

  1. Verification is a static practice of verifying documents, design, code and program.
  2. It does not involve executing the code.
  3. It is human based checking of documents and files.
  4. Verification uses methods like inspections, reviews, walkthroughs, and Desk-checking etc.
  5. Verification is to check whether the software conforms to specifications.
  6. It can catch errors that validation cannot catch. It is low level exercise.
  7. Verification is done by QA team to ensure that the software is as per the specifications in the SRS document.

Validation:

  1. Validation is a dynamic mechanism of validating and testing the actual product.
  2. It always involves executing the code.
  3. It is computer-based execution of program.
  4. Validation uses methods like black box (functional) testing, gray box testing, and white box (structural) testing etc.
  5. Validation is to check whether software meets the customer expectations and requirement
  6. It can catch errors that verification cannot catch. It is High Level Exercise.
  7. Validation is carried out with the involvement of testing team.

Principles of V-Model:

1. Large to Small:

In V-Model, testing is done in a hierarchical perspective, For example, requirements identified by the project team, create High-Level Design, and Detailed Design phases of the project. As each of these phases is completed the requirements, they are defining become more and more refined and detailed.

2. Data/Process integrity:

This principle states that the successful design of any project requires the incorporation and cohesion of both data and processes. Process elements must be identified at each and every requirement.

3. Scalability:

This principle states that the V-Model concept has the flexibility to accommodate any IT project irrespective of its size, complexity or duration.

4. Cross referencing:

Direct correlation between requirements and corresponding testing activity is known as cross-referencing.

5. Tangible Documentation:

This principle states that every project needs to create a document. This documentation is required and applied by both the project development team and the support team. Documentation is used to maintaining the application once it is available in a production environment.

Verification/Static Testing: