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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Control</strong> <strong>Flow</strong> <strong>Testing</strong>Boundary Interior Test<strong>Software</strong> Quality Assurance – Dynamic Test© Prof. Dr. Liggesmeyerc. The execution with totalnumber = 0 and the input of the character string HH! causes twoexecutions of the loop body. At both executions the false-branch of the selection is passedthrough. The exclamation mark terminates the loop executiontest path: n start , n 1 , n 2 , n 3 , n 5 , n 2 , n 3 , n 5 , n 2 , n finald. The execution with totalnumber = 0 and the input of the character string HA! causes twoexecutions of the loop body. At the first execution the false-branch of the selection ispassed through. At the second execution the true-branch of the selection is passedthrough. The exclamation mark terminates the loop executiontest path: n start , n 1 , n 2 , n 3 , n 5 , n 2 , n 3 , n 4 , n 5 , n 2 , n final• The seven test cases are sufficient for the complete test of the loop according tothe boundary interior criterion41

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

Saved successfully!

Ooh no, something went wrong!