V-Model for Testing

Posted: November 20, 2012 in Testing Basics
Tags: , , , , , ,

V-Model for Testing:

V-Model evolved from waterfall Model.  Each phase must be completed before the next phase begins.  Instead of moving down in a linear way, the process steps are bent upwards after the coding phase, to form the typical V shape. Testing is emphasized in this model more than in the waterfall model.  It is a structured approach to testing. It brings high quality into the development of our products. The V-model is also called as Verification and Validation model.

Typical V-model shows Software Development activities on the Left hand side of model and the Right hand side of the model actual Testing Phases can be performed.

There are variants of V-Model however we will take a common type of V-model example. The V-model generally has four test levels.

1. Unit Testing:

  • The most ‘micro’ scale of Testing.
  • Performed by Programmer.
  • Requires detailed knowledge of the internal program design and code.
  • Ensures the component is working according to the detailed design/build specifications of the module.
  • Also known as component, module, or program testing.

2.Integration Testing:

  • Testing of more than one (tested) unit together to determine if they function correctly.
  • Focus on interfaces
  • It is done using the integration test design prepared during the architecture design phase.
  • Done by developers/designers and testers in collaboration
  • Also called Interface Testing or Assembly Testing

3. System Testing:

  •  After the software has been integrated (constructed), sets of high order tests shall be conducted.
  • System testing verifies that all elements mesh properly and the overall system function/performance is achieved.
  • The purpose of system testing is to fully exercise the computer-based system. The aim is to verify that all system elements and validate conformance against SRS.

  4.  Acceptance Testing:

  •  To determine whether a system satisfies its acceptance criteria and business requirements or not.
  • Done by real business users.
  • It enables the customer to determine whether to accept the system or not.
  • Acceptance Testing also called as Beta Testing, Application Testing or End User Testing.
  • Acceptance Testing should be performed in real operating environment.
  • Customer should be able to perform any test based on their business processes.

Benefits of V-Model:

  • Faults are prevented and it stops fault multiplication.
  •  Avoids the downward flow of defect.
  •  Lower defect Resolution cost due to earlier detection.
  •  Improved quality and reliability.
  •  Reduction in the amount of Re-work.
  •  Improved Risk Management
  •  Validation and Verification at each level of stage containment
  •  Allows testers to be active in the project early in the project’s lifecycle. They develop critical knowledge about the system.

 

If you like this post ,Don’t forget to write comments…………………

Advertisements
Comments
  1. ravi says:

    wow thanks

  2. Dipesh Malvia says:

    nice one you have explained it very beautifully…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s