How to define BVA & ECP?
Thanks in advance
Bharathi
How to define BVA & ECP?
Thanks in advance
Bharathi
bva - boundary value analysis : in boundary value analysis testing, we design test cases that exercise values that lie at the boundaries of an equivalence class and for situations just beyond the ends. E.g.input condition 0 <= x <= max test for values : 0, max ( valid inputs) : -1, max+1 (invalid inputs) ecp - equivalence class partitioning in equivalence class parttitioning we partition the program input domain into equivalence classes (classes of data which according to the specifications are treated identically by the program). The basis of this technique is that test of a representative value of each class is equivalent to a test of any other value of the same class.here we need to identify valid as well as invalid equivalence classes. E.g. Input condition 0 <= x <= max valid equivalence class : 0 <= x <= max invalid equivalence classes : x < 0, x > max
HI,
take an example,
if we want to write BVA and ECP for a User id in 'create an account' screen of Gmail.
BVA:
assume that user id accepts min. 6 chars and max. 30 chars
we use BVA like
Give chars < 6 chars, 6 chars, 7 chars,
give 29 chars, 30 chars, >30 chars
It should give an error when we give < 6chars, > 30 chars like
'Sorry, your username must be between 6 and 30 characters long.'
ECP:
In this we partiotion the input values in to classes
1. we enter special chars like '@#$%^&^' then it shouldn't accept,
2. we enter alphabets with capital letters like 'ADSAOISD' it should not accpet
3. we enter small letters, it should accpet
4. when we enter with small alphabets with digits, it should accpet,
when we give 1 and 2 inputs it should give an error message like
'Sorry, only letters (a-z), numbers (0-9), and periods (.) are allowed. '
thanks
BVA and ECP can be defined as the techniques to replace Exhaustive Testing.
Exhaustive Testing is only theoretical and practically not possible.
Lack of WILL POWER has caused more failure than
lack of INTELLIGENCE or ABILITY.
-sutnarcha-