![]() |
|
"be consistent" | |
PerlMonks |
Re^3: (OT) Black- vs. white-box testingby tilly (Archbishop) |
on Oct 26, 2005 at 17:56 UTC ( #503125=note: print w/replies, xml ) | Need Help?? |
The reason why I call that white-box testing is that the private API is often explicitly designed to shine a white light on otherwise dark corners of the implementation. For instance in the regex example, you might have a flag that is available telling you which version was actually run. That allows something which should be invisible (whether you've turned on the optimization) to be tested.
In Section
Meditations
|
|