Hi Folks,
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,
Hi Folks,
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,
IMHO, The main disadvantage is that your test plan, execution, and coverage is more susceptible to changes in the underlying implementation, and is thus less useful for regression and acceptance testing.
White box testing is useful at lower-levels and in addition to black-box tests, but I would be nervous if I was due to deliver software with only white-box tests.
The biggest disadvantage of White Box testing IMHO, is the time it takes. Programmer and tester time is expensive. Better to catch the big show-stopping bugs first with broader testing methods.
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.