2. Software Test Designing
Seatwork (EP/BVA)
- Display the profile of a missing person from typhoon Yolandaaffected areas depending on the full name and age inputted by user.
If missing person is of legal age, search results screen is displayed
showing matches found by the system. If missing person is still a
minor , a popup will be displayed to confirm that the user is a
relative of the missing person. If age is already 60, user is redirected
to missing senior citizen’s page. Only accepts up to 50 characters for
the name and 2 digit values for the age.
3. Software Test Designing
Equivalence Partitioning
Determine the equivalence classes
Test Conditions
Input Type
Age
Valid Data
Invalid Data
Results
4. Software Test Designing
Boundary Value Analysis
Determine the partition and boundaries using the MinMid-Max technique
Invalid Partition
Valid Partition 1
Valid Partition 2
Valid Partition n
Invalid Partition
5. •
Software Test Designing
Black Box Technique
Test Cases
Test Condition
Input Type
Age
Data based from
Partitions
Expected Results
6. Software Test Designing
• White Box Testing
Statement and Branch Coverage:
1. int num, sum=0;
2. Read num
3. while(num>=0)
4. { sum+=num;
Read num
}
5. print sum
6. end
7. Software Test Designing
• White Box Testing
Statement and Branch Coverage:
Illustrate the Control Flow Graph.
8. Software Test Designing
• White-Box Testing
Statement and Branch Coverage:
Fill in the areas with a question mark.
Statement Coverage:
Data: 1, 2,10, -1
Path: ?
Output: ?
Branch Coverage:
True Data: 0, 2, 13, 7-1
True Path: ?
Output: ?
False Data: -1
False Path: ?
Output: ?
9. Software Test Designing
• White-Box Testing
Condition Coverage:
1 float testFunc(int a, int b, int c, int d) {
2
float e = 0.0;
3
if (a == 0) {
4
return 0;
5
}
6
int x = 0;
7
if ((a==b) OR (c == d) ((a+c ) > (b+d)) ) {
8
x=1;
9
}
10 e = 1*x;
11 return e;
12 }
11. Software Test Designing
White-Box Testing
Condition Coverage:
Identify the combinations for each test case and
give sample data:
Condition Points
Condition 1
Condition n
12. PREMID ARTICLES
TESTING:
The Power of “What if...” and 9 Ways to Fuel Your Imagination by Cem Kraner
http://testingeducation.org/a/scenario.pdf
MAINTENANCE:
Using Extreme Programming in a Maintenance Environment by Charles Poole and Jan
Willem Huisman
http://cf.agilealliance.org/articles/system/article/file/960/file.pdf
PROJECT MANAGEMENT:
Managing the development of large software systems by Dr. Winston W. Royce
http://leadinganswers.typepad.com/leading_answers/files/original_waterfall_paper_winston_royce.
pdf
13. PREMID REACTION PAPER
Format:
<LastName, FullName> <Course&Year> <Schedule>
<Reaction Content>
Times New Roman, 10, Single line spacing, minimum of 150 words per
article
DEADLINE : JANUARY 18, 2014