Download presentation
Presentation is loading. Please wait.
1
Robustness Testing by- (Group 2-Batch F1)
2
Robustness Testing A Type Of Black Box 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.
3
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.
4
Test Cases Considered In Boundary Value Analysis Are-
(For Two Inputs[x,y])
5
Test Cases Considered For Robustness Testing:-
6
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.
7
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.
8
[Scalene; Isosceles; Equilateral; Not a triangle]
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.
9
Solution Robust test cases
10
[Not a quadratic equation; Real roots; Imaginary roots; Equal roots]
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.
11
Solution Quadratic equation will be of type: ax2+bx+c=0
Roots are real if (b2-4ac)>0 Roots are imaginary if (b2-4ac)<0 Roots are equal if (b2-4ac)=0 Equation is not quadratic if a=0
13
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.
14
Solution Robust test cases are 6n+1. Hence total 19 robust test cases are designed and are given on next slide.
16
Thank You
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.