17
18
19
20
21
Output.add(item);
}
}
return Output;
}
Question 2 (3 points): Assuming you are assigned to conduct the component test for the method
mentioned in question 1, please design and create the minimum component test cases (Unit Test
case) needed to achieve 100% statement coverage and 100% decision coverage. (Use question 2 template)
Question 3 (4 points): Then you are assigned to do the functional (black-box) test for function Create a New Receipt
Zoom
+ 100%
Close