1. What is the difference between "white box
testing" and "black box testing"?
- White box testing uses knowledge of the source code to design software
tests. The tests might exercise certain parts of the code that are known to
be unreliable, or attempt to exercise all the code, etc.
- Black box testing does not use any knowledge of the source code. The tests
simply use various inputs and check for correct outputs.
2. What is "path testing"?
- Path testing is a white box test that attempts to exercise all the lines
of source code in a routine. For example, the tests make sure to execute
both sides of every if-then-else clause.