




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Professor: Thebaut; Class: SOFTWARE TEST/VERIFI; Subject: COMPUTER SOFTWARE ENGINEERING; University: University of Florida; Term: Unknown 1989;
Typology: Study notes
1 / 28
This page cannot be seen from the preview
Don't miss anything!





















Software Testing and Verification
Prepared by
Stephen M. Thebaut, Ph.D.
University of Florida
Lecture 15
Lectures 1-
-^
Readings 1-6: 1.
Myers,
The Art of Software Testing
Kit,
Software Testing in the Real World
Gause & Weinberg,
Making Meetings Work…
Fagan,
Design and Code Inspections…
Grady & Van Slack,
Key Lessons in Achieving
Widespread Inspection Use
Sauer, et al.,
The Effectiveness of Software
Development Technical Reviews…
Topics (cont’d) –^
Testing Object-Oriented Software
-^
Reviews and Inspections
-^
Testing Tools
Practice Exams
-^
Lesson Plans (including
Self-Check Quiz
Questions
Question format may be short answer,matching, true/false, fill-in-the-blank,proofs, etc.
-^
The point-value of each question will be given.given.
-^
-^
(3 pts.) Even unimpaired, conscientioustesters who visually compare actualwith expected test results have atendency to overlook differences. (This^ is especially true when testing in theis especially true when testing in the^ the Spring!) Briefly explain why this isso. What specific techniques werediscussed in class for countering thistendency?
(4 pts.) In addition to the "top-down"and "bottom-up" incrementalintegration testing approaches, 3"hybrid" approaches were discussed in^ class. Describe 2 of these.class. Describe 2 of these.
(cont’d)^ d.
(3 pts.) How many of these are du-paths? e.
(3 pts.) Consider a test case with^ execution path <0,1,2,3,4>. Circleexecution path <0,1,2,3,4>. Circle^ all of the following coverage criteria(not shown) that would be met byexecuting this test case…
(cont’d)^ f.
(3 pts.) Consider a 2nd test case withexecution path <0,2,3,3,4>. Circle allof the following coverage criteria (not shown) that would be met by shown) that would be met by executing BOTH test cases… executing BOTH test cases… g.
(10 pts.) Give the path condition forpath <0,2,3,3,3,4> in terms of theinitial symbolic values of A and B forthis subroutine. Show ALL pathcondition conjuncts.
(cont’d)^ c.
Cause-Effect Analysis can be viewedas a logical extension of EquivalencePartitioning. d.
The specification fragment, "HOURS d.
The specification fragment, "HOURS^ will range in value from 0 to 40; forHOURS <= 20, output 'Low'; forHOURS > 20, output 'HIGH'," (whereHOURS is a program input) suggestsONE valid and possibly ONE or TWOinvalid equivalence classes.
(cont’d)^ e.
The technique is predicated on theassumption that every element of anequivalence class causes the same^ program path to be executed.program path to be executed.
(cont’d)^ c.
(8 pts.) How many test cases would berequired to cover all feasible combinationsof Causes that, based on the graph, willresult in Effect E1 being true? In effect E3^ being true?being true? d.
(4 pts.) How many test cases would berequired to cover all feasible combinationsof Causes that, based on the graph, willresult in Effect E1 being true, SUBJECT TOTHE CULLING RULES considered in class? Ineffect E3 being true?
Recall the specification of pow(x,y),which computes the value of x raised tothe power y, x
y, from the Black-Box
Testing Case Study. a.
(3 pts.) It was noted that x
y really
MEANS (or represents) different a.
(3 pts.) It was noted that x
y really
MEANS (or represents) different functions depending on the input"region" (point, line, etc.) in the x,yplane. If y is an integer <= -1 and xis a non-zero number, what"function" does x
y represent?