Question: Task 1 Black Box Testing ( 1 0 marks ) Given the function specification as below, can you design test cases by applying each of
Task Black Box Testing marks
Given the function specification as below, can you design test cases by applying each of the following black box testing methods?
Input Partitioning marks
Output Partitioning marks
Boundary Value Robustness Testing marks
Marking criteria for task is:
Criteria Ratings Pts
Input Partitioning Pts
Full marks
Test cases do not miss any important input partition; Test cases do not include redundant input partitions. Pts
No marks
Each missing or redundant input partition or relevant test case causes a loss of mark.
pts
Output Partitioning Pts
Full marks
Test cases do not miss any important output partition; Test cases do not include redundant output partitions. Pts
No marks
Each missing or redundant output partition or relevant test case causes a loss of mark.
pts
Boundary Value Robustness Testing Pts
Full marks
Test cases do not miss any important boundary value; Test cases do not include redundant boundary values. Pts
No marks
Each missing or redundant boundary value or relevant test case causes a loss of mark.
pts Use the template provided in the images of the question. Task Black Box Testing marks
Given the function specification as below, can you design test cases by applying each of the following black box testing methods?
Input Partitioning marks
Output Partitioning marks
Boundary Value Robustness Testing marks
Given an array of no more than unique integers sorted in ascending order, arr, and an integer the function returns an integer that meets the following conditions:
If there is no such a value of that arrj equals then return
Otherwise, return the value of that arrj equals
The function throws an Exception for any invalid input, eg arr is null, or x is not an integer.
Marking criteria for task is:
tableCriteriaRatings,PtstableInputPartitioning ptstable PtsFull marksTest cases do not miss any importantinput partition; Test cases do notinclude redundant input partitions.table PtsNo marksEach missing or redundant inputpartition or relevant test casecauses a loss of mark.tableOutputPartitioning ptstable PtsFull marksTest cases do not miss any importantoutput partition; Test cases do notinclude redundant output partitions.table PtsNo marksEach missing or redundant outputpartition or relevant test casecauses a loss of mark.tableBoundaryValueRobustnessTesting pts Pts PtsFull marks,No markstableTest cases do not miss any importantboundary value; Test cases do notinclude redundant boundary values.tableEach missing or redundantboundary value or relevant testcase causes a loss of mark.
Complete task using the following template: Input Partitioning
List all the combinations of the equivalence classes for input parameters arr and x :
tablePartitionEquivalence Class for arr,Equivalence Class for xPPdots
List the test cases you designed to cover all the identified partitions. Test cases might be fewer than the partitions.
tableTestPartitions covered,arr input,x input,outputTPTP Pdots Output Partitioning
List all the partitions, ie equivalence classes for the output domain.
List the test cases you designed to cover all the identified partitions. The test cases might be fewer than the partitions.
tableTestPartitions covered,arr input,x input,outputTPTP Pdots Boundary Value Robustness Testing
Test cases designed based on all combinations of boundary values for arr and
tableTestarr input,x input,outputTTdotsBoundary Value Robustness Testing
Test cases designed based on all combinations of boundary values for arr and
tableTestarr input,x input,outputTTdots
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
