









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










( 2nd edition )
http://www.cs.gmu.edu/~offutt/softwaretest/ 20 September 2015
Old view focused on testing at each software development phase as being very different from other phases
Test Requirements : A specific element of a software artifact that a test case must satisfy or cover Coverage Criterion : A rule or collection of rules that impose test requirements on a test set A tester’s job is simple : Define a model of the software, then find ways to cover it
These structures can be extracted from lots of software artifacts
Flavors :
Criteria 1:
if (x > y) { cout<<“Say Hello”; if (y > x) { cout<<“Say Good Bye”;//DEAD code } }
Does test set T1 satisfy the flavor criterion? Does T1 suffer from redundancy? ( Minimal test sets ) Can T1 be minimal? T1 = { three Lemons, one Pistachio, two Cantaloupes, one Pear, one Tangerine, four Apricots } Does test set T2 satisfy the flavor criterion? T2 = { One Lemon, two Pistachios, one Pear, three Tangerines } Does test set T2 satisfy the color criterion?
Criteria Subsumption : A test criterion C1 subsumes C2 if and only if every set of test cases that satisfies criterion C1 also satisfies C Must be true for every set of test cases Examples :
Chapter 5 from the course’s textbook: “Introduction to Software Testing”, Cambridge University Press. P. Amman and J. Offutt, Second Edition, 2017.