Explain the difference between Black-box testing and White-box testing.


Explain the difference between Black-box testing and White-box testing.


Answer: Black-box testing only considers the output compared to the expected output without consideration of the actual code processing.

White-box testing examines the internal code.  Programmers use this methodology when using the debugger, placing breakpoints in the code, and/or examining the internal memory of the variables.