CS4004: Project Phase/Part 3 – White Box Testing
Your teacher will contact each of you with the program which you will use for this part of your assignment.
You are expected to copy this test case template for each test case for each of the methods listed here but
first read this entire document.
Test Case Number
Test Case
Description
Expected Outcome
Actual Outcome
Test case template
Your submissions should include
Method 1 – Statement Testing - In here you should insert your test cases to achieve complete
statement coverage (i.e. 100%). Please make as many copies of the test case template as you
need and insert them here.
Control Flow Graph - Before starting Method 2, Method 3 and Method 4 you should create your
Control Flow Graph and insert it here. Note: In your test case descriptions for each of Method 2,
Method 3 and Method 4 you should include references to nodes of your Control Flow Graph where
applicable.
Method 2 – Branch Testing (aka Decision Testing) - In here you should insert your test cases to
achieve complete branch coverage (i.e. 100%). Please make as many copies of the test case
template as you need and insert them here.
Method 3 – Condition Testing - In here you should insert your test cases to achieve complete
condition coverage (i.e. 100%). Please make as many copies of the test case template as you need
and insert them here.
Method 4 – Decision/Condition Testing - In here you should insert your test cases to achieve
complete decision/condition coverage (i.e. 100%). Please make as many copies of the test case
template as you need and insert them here.
Final Test Cases – In here you should insert your complete set of test cases from the Four Methods.
There should be no duplicate entries.
Submission Deadline
Please email your deliverable (as a .pdf file) to your SDUT teacher by 17h00 (CST) on 14 November, 2017.
Clearly indicate on your submission your Group Number, your Student ID and your Name.