The tutor to confirm the following has been done.
Admin tP v1.3: Demo
v1.2
,
v1.3
.v1.3 features demo
.You may release a newer version to be used for the PE dry run, but make sure it is released by Friday 10am.
Design test cases for the day
parameter
What are the equivalence partitions for the parameter day
of this method?
/**
* Returns true if the three values represent a valid day
*/
boolean isValidDay(int year, int month, int day) {
}
What are the boundary values for the parameter day
in the question above?
Give 10 test inputs you would use for the parameter day
in the question above.
Combine test inputs for the consume
method
Apply heuristics for combining multiple test inputs to improve the E&E of the following test cases, assuming all 6 values in the table need to be tested. Underlines indicate invalid values. Point out where the heuristics are contradicted and how to improve the test cases.
SUT: consume(food, drink)
Test case | food | drink |
---|---|---|
TC1 | bread | water |
TC2 | rice | lava |
TC3 | rock | acid |
Apply the suitable pattern
Suppose the Processor
component of a software application is designed as follows:
If you want to provide the ability for other components to get notified when a Job
is finished running, without the Processor
component becoming dependent on those other components,