13.07.2015 Views

Control Flow Testing - Software Engineering: Dependability

Control Flow Testing - Software Engineering: Dependability

Control Flow Testing - Software Engineering: Dependability

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Control</strong> <strong>Flow</strong> <strong>Testing</strong>Statement Coverage• Statement coverage test demands the execution of all nodes of the control flowgraph, i.e., the corresponding program paths must contain all nodes of the controlflow graph• Test casecall of CountChars with: totalnumber = 0input chars: ’A’, ’1’path: (n start , n1, n2, n3, n4, n5, n2, n final )• Observation• The test path contains all nodes• but it does not contain all edges of the control flow graph. The edge (n3,n5) is not contained11<strong>Software</strong> Quality Assurance – Dynamic Test© Prof. Dr. Liggesmeyer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!