Friday, December 28, 2007

v model to w model

V-Model:

The V-model promotes the idea that the dynamic test stages (on the right hand side of the model) use the documentation identified on the left hand side as baselines for testing. The V-Model further promotes the notion of early test preparation.

The V-Model of testing

Early test preparation finds faults in baselines and is an effective way of detecting faults early. This approach is fine in principle and the early test preparation approach is always effective. However, there are two problems with the V-Model as normally presented.


The V-Model with early test preparation

There is rarely a perfect, one-to-one relationship between the documents on the left hand side and the test activities on the right. For example, functional specifications don’t usually provide enough information for a system test. System tests must often take account of some aspects of the business requirements as well as physical design issues for example. System testing usually draws on several sources of requirements information to be thoroughly planned.

V-Model has little to say about static testing at all. The V-Model treats testing as a back-door activity on the right hand side of the model. There is no mention of the potentially greater value and effectiveness of static tests such as reviews, inspections, static code analysis and so on. This is a major omission and the V-Model does not support the broader view of testing as a constantly prominent activity throughout the development lifecycle.

W Model:


The W-Model of testing

Paul Herzlich introduced the W-Model approach in 1993. The W-Model attempts to address shortcomings in the V-Model. Rather than focus on specific dynamic test stages, as the V-Model does, the W-Model focuses on the development products themselves. Essentially, every development activity that produces a work product is shadowed by a test activity. The purpose of the test activity specifically is to determine whether the objectives of a development activity have been met and the deliverable meets its requirements. In its most generic form, the W-Model presents a standard development lifecycle with every development stage mirrored by a test activity. On the left hand side, typically, the deliverables of a development activity (for example, write requirements) is accompanied by a test activity test the requirements and so on. If your organization has a different set of development stages, then the W-Model is easily adjusted to your situation. The important thing is this: the W-Model of testing focuses specifically on the product risks of concern at the point where testing can be most effective.


The W-Model and static test techniques.

If we focus on the static test techniques, you can see that there is a wide range of techniques available for evaluating the products of the left hand side. Inspections, reviews, walkthroughs, static analysis, requirements animation as well as early test case preparation can all be used.



The W-Model and dynamic test techniques.

If we consider the dynamic test techniques you can see that there is also a wide range of techniques available for evaluating executable software and systems. The traditional unit, integration, system and acceptance tests can make use of the functional test design and measurement techniques as well as the non-functional test techniques that are all available for use to address specific test objectives.

The W-Model removes the rather artificial constraint of having the same number of dynamic test stages as development stages. If there are five development stages concerned with the definition, design and construction of code in your project, it might be sensible to have only three stages of dynamic testing only. Component, system and acceptance testing might fit your normal way of working. The test objectives for the whole project would be distributed across three stages, not five. There may be practical reasons for doing this and the decision is based on an evaluation of product risks and how best to address them. The W-Model does not enforce a project symmetry that does not (or cannot) exist in reality. The W-model does not impose any rule that later dynamic tests must be based on documents created in specific stages (although earlier documentation products are nearly always used as baselines for dynamic testing. In projects using these methods, requirements and designs might be documented in multiple models so system testing might be based on several of these models (spread over several documents).

We use the W-Model in test strategy as follows. Having identified the specific risks of concern, we specify the products that need to be tested; we then select test techniques (static reviews or dynamic test stages) to be used on those products to address the risks; we then schedule test activities as close as practicable to the development activity that generated the products to be tested.

56 comments:

pallavi said...

It's really useful information.I was confused about models.I was considering V & V model as W-model.But now it is clear.Thanks

Paul Gerrard said...

This article is a plagiarised version of text from Paul Gerrard and Neil Thompson's book, 'Risk-Based E-Business Testing', Pages 56-59. See http://riskbasedtesting.com

The full text is also available on the Gerrard Consulting website here: http://gerrardconsulting.com/?q=node/531 This is probably where the 'authors' obtained this content.

Anonymous said...

generic xanax xanax you buy online real - buy-xanaxonline.com

Anonymous said...

xanax online xanax bars first time - xanax and grapefruit juice

Anonymous said...

xanax online what is better for anxiety xanax or ativan - do drug test test xanax

Anonymous said...

buy tramadol online tramadol ultram side effects - tramadol zydol 50mg

Anonymous said...

xanax online xanax 2mg white - xanax side effects urdu

Anonymous said...

generic xanax xanax 1mg football - buy xanax in thailand

Anonymous said...

buy tramadol online order tramadol online sweden - buy tramadol cheap online no prescription

Anonymous said...

buy tramadol online really cheap tramadol - tramadol generic fedex no prescription

Anonymous said...

order alprazolam no prescription xanax bars buy online - xanax for chronic anxiety

Anonymous said...

buy tramadol online tramadol overdose wiki - buy tramadol sr 100 mg

Anonymous said...

buy tramadol online tramadol 50 mg uses - buy tramadol online no prescription usa

Anonymous said...

buy tramadol online buy tramadol for dogs usa - order tramadol online next day

Anonymous said...

buy tramadol online buy tramadol pharmacy - buy tramadol online cod only

Anonymous said...

carisoprodol 350 mg soma carisoprodol uses - carisoprodol 350 mg muscle relaxer

Anonymous said...

xanax online xanax 1 mg sleep - xanax bars get high

Anonymous said...

buy tramadol online tramadol dosage dogs bone cancer - tramadol hcl 50 mg webmd

Anonymous said...

xanax online taking 2mg xanax first time - generic to xanax

Anonymous said...

xanax cheap much generic xanax - can you overdose xanax xr

Anonymous said...

buy carisoprodol carisoprodol like soma - carisoprodol 350 mg efectos secundarios

Anonymous said...

xanax online xanax 0.25 effects - xanax 1mg what color

Anonymous said...

where to buy xanax online no prescription what is xanax made of - buy xanax online without prescriptions

Anonymous said...

buy xanax online overnight delivery xanax hydrocodone high - what is xanax 0.5mg

Anonymous said...

buy tramadol online tramadol addiction effects - possible get high tramadol

Anonymous said...

order tadalafil cialis online acquisto - cialis 36 vs daily

Anonymous said...

xanax online xanax side effects pain - xanax quotes for myspace

Anonymous said...

buy cialis online cheap cialis china - cialis online ricetta

Anonymous said...

buy cialis from canada coupon for cialis daily - buy cialis online with paypal

Anonymous said...

xanax online xanax bars side effects - new xanax pills

Anonymous said...

buy cialis online cialis daily order - cialis prices usa

Anonymous said...

cialis medication cialis 50mg pills - cialis price bangkok

Anonymous said...

xanax online xanax side effects wiki - xanax 1 mg for sleep

Anonymous said...

cialis online order cialis online us - generic cialis 2.5 mg online

Anonymous said...

xanax online would xanax show up drug test - what does generic xanax look like

Anonymous said...

cialis no prescription overnight cheap cialis levitra - cialis tolerance

Anonymous said...

cialis online cialis online us - typical price cialis

Anonymous said...

buy tramadol online no prescription tramadol overdose lethal - buy tramadol hydrochloride online

Anonymous said...

http://landvoicelearning.com/#44827 dosage for tramadol 100mg - tramadol for dogs used by humans

Anonymous said...

http://landvoicelearning.com/#97734 tramadol 50mg for animals - buy tramadol cod online

Anonymous said...

http://buytramadolonlinecool.com/#73892 buy tramadol order cheap tramadol online - purchase tramadol cod shipping

Anonymous said...

http://buytramadolonlinecool.com/#96430 tramadol with hydrocodone - best place order tramadol online

Anonymous said...

buy tramadol tramadol buying online legal - best site order tramadol

Anonymous said...

http://buytramadolonlinecool.com/#30807 tramadol zoloft - order tramadol online cod

Anonymous said...

http://buytramadolonlinecool.com/#30807 tramadol addiction helpline - tramadol hcl prescribed

Anonymous said...

buy generic tramadol no prescription tramadol addiction usa - best place buy tramadol online reviews

Anonymous said...

learn how to buy tramdadol tramadol 50 mg o 100 mg - tramadol overnight no prescription

Anonymous said...

ways to buy ativan online buy lorazepam 2.5mg - lorazepam 1 mg effects

Anonymous said...

http://reidmoody.com/#53287 ativan high bluelight - ativan abuse

Anonymous said...

tramadol no prescription tramadol high triglycerides - tramadol fass 100mg

Anonymous said...

http://staam.org/#37708 buy tramadol online usa cheap - tramadol tablets dosage

Anonymous said...

buy tramadol online tramadol hcl 50 mg tab amn - tramadol overdose child

Anonymous said...

xanax drug does generic xanax pills look like - generic xanax orange round

Anonymous said...

buy xanax online no prescription cheap xanax 1 mg side effects - xanax lethal dose

Anonymous said...

http://ranchodelastortugas.com/#72895 xanax questions - best way to buy xanax online

Anonymous said...

online xanax no prescription xanax 2mg gg249 - xanax and alcohol what to do