Coverage Techniques in Software Testing

Page 1

QATestLab 21, Garmatna str., Kiev, Ukraine ph.: +38(044)277-66-61 http://qatestlab.com/ contact@qa-testlab.com

Coverage is a dimension which used in software testing to measure the degree to which the source code is tested. There are 3 main kinds of coverage methods: •

Decision

Statement

Path

Decision coverage It assures that each decision (true/false) in the source code has been performed and tested properly.

Statement coverage It guarantees that every line of source code has been performed and tested properly.

Path coverage In this case software tester ensures that every possible route through a given piece of code is performed and tested properly.

(c) QATestLab, 2011

http://qatestlab.com/


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.