Testing by Group 2Batch F1 Robustness Testing A Type Of Black B ox Testing Black box testing is a method ID: 558098
Download Presentation The PPT/PDF document "Robustness" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Robustness Testing
by-
(Group 2-Batch F1)
Slide2
Robustness Testing
A Type Of Black
B
ox Testing
Black
-
box
testing
is a method
of software
testing
that examines the functionality of an application without peering into its internal structures or workings.Slide3
Robustness Testing
It is nothing but the extension of boundary value analysis.
Here ,we would like to see, what happens when the extreme values are exceeded with a value slightly greater than the maximum , and slightly less than the minimum. It means, we want to go outside the legitimate boundary of input domain. Slide4
Test Cases Considered In Boundary Value Analysis Are-
(For Two Inputs[
x,y
])Slide5
Test Cases Considered For Robustness Testing:-Slide6
Robustness Testing
Hence , we go outside the legitimate boundary.
Total Number of Test Cases For Robustness Testing are = 6n+1 ,where n is the number of input variables.Slide7
Example #1
Consider the postal rates for light letters are 25p up to 10gm,35p up to 50gm plus an extra 10p for each additional 25gm up to 100gm. Generate robust test cases for this problem.Slide8
Example #2
Consider a simple program to classify a triangle. Its inputs is a triple of positive integers (say x, y, z) and the date type for input parameters ensures that these will be integers greater than 0 and less than or equal to 100. The program output may be one of the following words:
[Scalene; Isosceles; Equilateral; Not a triangle]
Design the robustness test cases.Slide9
Solution
Robust test
casesSlide10
Example #3
Consider a program for the determination of the nature of roots of a quadratic equation. Its input is a triple of positive integers (say
a,b,c
) and values may be from interval [0,100]. The program output may have one of the following words:
[Not a quadratic equation; Real roots; Imaginary roots; Equal roots]
Design the robustness test cases.Slide11
Solution
Quadratic equation will be of type:
a
x
2
+bx+c=0
Roots are real if
(b2-4ac)>0Roots are imaginary if
(b
2
-4ac)<0
Roots are equal if
(b
2
-4ac)=0
Equation is not quadratic if
a=0Slide12Slide13
Example #4
Consider a program for determining the Previous date. Its input is a triple of day, month and year with the values in the range:
1 <= month <= 12
1 <= day <= 31
1900 <= year <= 2025
The possible outputs would be
Previous date or invalid input date.
Design the robustness test cases.Slide14
Solution
Robust test cases are 6
n+1. Hence total 19 robust test cases are designed
and are given on next slide.Slide15Slide16
Thank You