testingwhite-box-testing

Disadvantage of White Box Testing?


Can you think of any disadvantages of White Box testing - other that the tester needs to know and understand the code (which may have a cost)?

Thanks,


Solution

  • It is both an advantage and disadvantage as you're creating your tests to test the specific code implementation instead of designing tests to test how it will be used in a real situation. So basically it is a disadvantage that it does not catch all cases of use, which is why black box testing is a good compliment to whit box.