Black Box Web Testing with HttpUnit
Subject:   terminology
Date:   2004-05-11 06:17:07
From:   paulcampbell

Your terminology is incorrect. The terms white-box and black-box refer to the knowledge used during the design of the tests, NOT to the location of the test insertion point. E.g. testing of a web interface can still be white-box if knowledge of internal application logic is used to design the test.

To be clear on this: tests using public and/or interfaces can be perfectly valid white box tests.

From the software enginnering FAQ:

"White-box test design allows one to peek inside the 'box',
and it focuses specifically on using internal knowledge of the software
to guide the selection of test data."

Paul C.