V- Model
means Verification and Validation model. Just like the waterfall
model, the V-Shaped life cycle is a sequential path of execution of
processes. Each phase must be completed before the next phase begins.
Under
V-Model, the corresponding testing phase of the development phase is planned in
parallel. So there are Verification phases on one side of the .V. and
Validation phases on the other side. Coding phase joins the two sides of the
V-Model.
The
various phases of the V-model are as follows:
Requirements like
BRS and SRS begin the life cycle model just like the waterfall model. But, in
this model before development is started, a system test plan is created.
The test plan focuses on meeting the functionality specified in the
requirements gathering.
The
high-level design (HLD) phase focuses on system architecture and design.
It provide overview of solution, platform, system, product and service/process.
Anintegration test plan is created in
this phase as well in order to test the pieces of the software systems ability
to work together.
The
low-level design (LLD) phase is where the actual software components
are designed. It defines the actual logic for each and every component of the
system. Class diagram with all the methods and relation between classes comes
under LLD. Component tests are created in this phase as well.
The
coding phase is, again, where all coding takes place. Once coding is
complete, the path of execution continues up the right side of the V where the
test plans developed earlier are now put to use.
Code: This
is at the bottom of the V-Shape model. Module design is converted into code by
developers.
Advantages
of V-model:
- Simple and easy to use.
- Testing activities like planning, test designing happens well before coding. This saves a lot of time. Hence higher chance of success over the waterfall model.
- Proactive defect tracking – that is defects are found at early stage.
- Avoids the downward flow of the defects.
- Works well for small projects where requirements are easily understood.
When
to use the V-model:
- The V-shaped model should be used for small to medium sized projects where requirements are clearly defined and fixed.
- The V-Shaped model should be chosen when ample technical resources are available with needed technical expertise.
High
confidence of customer is required for choosing the V-Shaped model approach.
Since, no prototypes are produced, there is a very high risk involved in
meeting customer expectations
The
W Model removes the vague and ambiguous lines linking the left and right legs
of the V and replaces them with parallel testing activities, shadowing each of
the development activities.
As
the project moves down the left leg, the testers carry out static testing (i.e.
inspections and walkthroughs) of the deliverables at each stage. Ideally
prototyping and early usability testing would be included to test the system
design of interactive systems at a time when it would be easy to solve
problems. The emphasis would then switch to dynamic testing once the project
moves into the integration leg.
There
are several interesting aspects to the W Model. Firstly, it drops the arbitrary
and unrealistic assumption that there should be a testing stage in the right
leg for each development stage in the left leg. Each of the development stages
has its testing shadow, within the same leg.
The
illustration shows a typical example where there are the same number of stages
in each leg, but it's possible to vary the number and the nature of the testing
stages as circumstances require without violating the principles of the model.
Also,
it explicitly does not require the test plan for each dynamic test stage to be
based on the specification produced in the twin stage on the left hand side.
There is no twin stage of course, but this does address one of the undesirable
by-products of a common but unthinking adoption of the V Model; a blind
insistence that test plans should be generated from these equivalent documents,
and only from those documents.
A
crucial advantage of the W Model is that it encourages testers to define tests
that can be built into the project plan, and on which development activity will
be dependent, thus making it harder for test execution to be squeezed at the
end of the project.
However,
starting formal test execution in parallel with the start of development must
not mean token reviews and sign-offs of the documentation at the end of each
stage. Commonly under the V Model, and the Waterfall, test managers receive
specifications with the request to review and sign off within a few days what
the developers hope is a completed document. In such circumstances test
managers who detect flaws can be seen as obstructive rather than constructive.
Such last minute "reviews" do not count as early testing.
About Author:
About Author:
Vinayak Jadhav is technology lead in Systems Plus Pvt. Ltd and keen to resolve challenges using his technical skills. He actively contributes to technology and can be contacted at: vinayak.j@spluspl.com
Hello Vinayak,
ReplyDeleteThe Article on SDLC V & W Model in V model is amazing , gives detailed information about it. Thanks for Sharing the information about v www Model For More information check the detail on the Waterfall testing here Software Testing Company
THANK YOU FOR THE INFORMATION
ReplyDeletePLEASE VISIT US
erp provider companies
Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Visit here for Penetration testing services and Software testing services
ReplyDelete