Boundary Value Analysis Testing

Boundary value analysis is the technique of making sure that behavior of system is predictable for the input and output boundary conditions. Reason why boundary conditions are very important for testing is because defects could be introduced at the boundaries very easily. For example, if you were to write code to simulate following condition -



" Input should be greater than equal to 10 and less than 50"

Probably you will write something like

if (input >=10 AND input <50) then

do some

else

do some thing else.

So, according to this input values from 10 to 49 are valid, but if you make mistake in specifying the conditions, following things can happen

input >10 AND input <50 -------> Input value 10 in invalid now.

input <=10 AND input <50 -------> Input value 9 is valid now.

input >=10 AND input <=50 -----> Input value 50 is valid now

input >=10 AND input >50 -----> Input value 49 is invalid now

Because it is very easy to introduce defects at boundaries, boundary values are important. So for the above example, at the minimum we should have following test cases for boundaries

9, 10, 11 and 48, 49, 50

lower_boundary - 1, lower_boundary, lower_boundary + 1 and upper_boundary - 1, upper_boundary, upper_boundary + 1

Do you think boundary value analyses can be used for other boundaries as well? Have you ever used boundary value analyses with some variation to suite your project need? It will be great if you can share your experience of boundary value analyses with us, if approved it will be published under case studies section. 
Recent Updates
Guerrilla Testing Tips
One CPU better than two
TG Tips For Automation?
Is It Really Done?
Exploratory Testing
Automated Testing
Model Based Testing
Live News
 
Read More
Accessibility API Testing Article Backword BigBang Blackbox Blog Bottomup Boundary CaseStudies Certification DefectReport DistanceTest Equivalence FitNesse Geeks Graybox Guerrilla Testing Tips GUI HTA Humor Hybrid Internationalization Installation Integration Is it done? JUnit Measurement Mercury Quality Centre News One CPU better than two Patent Performace Checklist Rational Test Suite Regression Requirement Verification Research Rational Functional Tester Security Selenium SilkTest System Testing Templates TestComplete Tools Testing Types Testing Tools In News Testing Terms In News Testometer Test Plan TG Tips For Automation Top Down Integration Trait UAT UI Testing CheckList Unit Testing Usability VMWare Web Application Security Web Application Testing Checklist Whitebox Testing
Disclaimer  |  Privacy Policy  |  g e e k AT T e s t i n g G e e k DOT c o m
© Copyright 2008, www.TestingGeek.com