Ask Question
25 July, 11:51

Black box testing is the practice of writing tests without knowing the implementation of the code you're testing. White box testing is writing tests for code that you know the implementation of. White box testing allows you to test boundary conditions, branching, and edge cases more easily. One sample black box test, would be to pass in an empty array, and make sure that the program doesn't crash. What are three other black box tests you could run on any sorting algorithm?

+5
Answers (1)
  1. 25 July, 12:07
    0
    First test: Give a list of disordered numbers to the sorting algorithm an examine if the output is correctly sorted.

    Second test: Give a list of ordered numbers to the sorting algorithm an analyze if the output is still correctly ordered.

    Third test: Give a list of ordered numbers and some non-numeric values to the sorting algorithm and check how is managed the exception in case of error or if the output is correctly ordered.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Black box testing is the practice of writing tests without knowing the implementation of the code you're testing. White box testing is ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers