Question: Define black box and white box testing. What are the advantages of each approach? Why are both necessary? b) Consider a program component Binary_Search

Define black box and white box testing. What are the advantages of

 

Define black box and white box testing. What are the advantages of each approach? Why are both necessary? b) Consider a program component Binary_Search (list, searched_string) which search a string in an array of maximum 100000 elements. i) What are test cases you would like to test this procedure based on equivalence classes? ii) What would be additional test cases based on boundary values. c) Path coverage testing requires that every possible path through the code be tested at least once. Decision point coverage testing requires that each outcome of each decision point be tested at least once. Why does decision point coverage usually require fewer test cases than full path coverage? What kinds of errors might this testing miss?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!