L3 - Software Testing, Quality Assurance and Maintenance...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Winter 2010 Lecture 3 — January 8, 2010 Patrick Lam version 2 Subsumption Sometimes one coverage criterion is strictly more powerful than another one: any test set that satisfies C 1 might automatically satisfy C 2 . Definition 1 Criteria subsumption: coverage criterion C 1 subsumes C 2 iff every test set that satisfies C 1 also satisfies C 2 . Two ways to subsume: 1. test requirements for C 1 are always a superset of the test requirements for C 2 ; e.g. Calculus 2 test requirements are a superset of Calculus 1 test requirements. 2. many-to-one mapping exists between TRs for C 1 and C 2 ; i.e. for any test requirement tr that C 2 imposes, C 1 has at least one test requirement tr 0 which, when satisfied, also satisfies tr . (key point: tr 0 may be different from tr ). Software example: branch coverage (“Edge Coverage”) subsumes statement coverage (“Node Cov- erage”). Evaluating coverage criteria. Subsumption is a rough guide for comparing criteria, but it’s hard to use in practice. Consider also: 1. difficulty of generating test requirements; 2. difficulty of generating tests; 3. how well tests reveal faults. 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

L3 - Software Testing, Quality Assurance and Maintenance...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online