L3 - Software Testing Quality Assurance and Maintenance...

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

View Full Document Right Arrow Icon
Software Testing, Quality Assurance and Maintenance 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.
Image of page 1

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern