# What is BVA and ECP?Explain with one example

Showing Answers 1 - 0 of 0 Answers

#### stephenraj

• Feb 4th, 2006

Equavalece class partion: Equvalence partion is a black box testing method.Divides input domain of a program into classes of data from which testcases can be derived.  In Equavalence partioning a test case designed as to uncover group of class of errors. Here the input domain is divided into classes groups data.  These classes are known as equvalence class,the process of making these equvalence classes is known as equvalence class partion.

Equavalence class partion represents a set of valid and invalid states of every input conditons

Boundary value Analaysis: It has been observer that Program that work correctly for a set of values.In an Equavalece class fail on some special values These values often lie on boundary of equavalece class.

BVA testcases are extreme test cases.

#### shiva

• May 23rd, 2006

Boundary Value

#### SHIVA

• May 23rd, 2006

• Boundary value analysis(BVA) & Equal class partitions(ECP) are two different mathematical notations.
• BVA is used for range /size where as ECP is used for type of the object values in functionality testing.

#### rashi

• Nov 14th, 2007

BVA stands for BOUNDARY VALUE ANALYSIS & ECP stands for EQUIVALENCE CLASS PARTITIONING

ECP:- In it we divide the whole class into different modules we can say makes small parts of that to make testing convienient. lets assume the class can take values from 1-100 then we can divide it in 10 sub modules 1-10,10-20 etc.all these are equal parts of the same module to make testing easy.

BVA- its done after ECP. In it we check boundary values of ECP i.e.in 1-10 we check minimum value by taking 0,1,2 & for maximum values we'll take 9,10,11.

#### m.ramakrishna

• Mar 4th, 2015

ECP & bva two is test case design technicniques
ECP:i in that technique we use valid and invalid classes
for example one store tel to customeres maximum 4 purchases only
valid classes 1 to 4
invalid classes lesthan 1 greater than 5
BVA: is verify faults near the boundaries
minimum,maximum,min-1,max+1
valid minimum,maximum
invalid minimum-1,maximum+1

#### sreenath

• Jul 1st, 2015

BVA eg : if the salary b/w 10k to 20K are eligible to with draw the amount 50k from atm.we test with LBVA &HBVA . TC 1 : 9999 , TC 2 : 10,000, TC 3 : 10,001 , TC 4 : 19999 , TC5 : 20000, TC 6:20001

#### umang Tripathi

• Apr 21st, 2016

How can customer not buying anything falls into invalid classes. ZERO (0) purchase does not fall into invalid test value. It is said in your example that customers can have maximum of 4 purchases but is it mandatory to purchase. Thus valid test values : 0 to 4. (Please reply if my understanding for the given example is wrong)

If you think the above answer is not correct, Please select a reason and add your answer below.

Send   Reset