Systems & Software Talk | |
|
Visitors since August 14, 2007:
Free Hit Counters Are both Blackbox and Whitebox testing necessary?"Why do you go for White box testing, when Black box testing is available?" – from a post at SQAForums. This is an excellent question with a vast domain of reasons why. I’ll venture some opinions and reasons. ASSUMPTION: Software development embodies more work than writing code. Software development includes debugging, unit, and unit-integration testing – at a minimum. Therefore, one can conclude that "white-box" testing is required and should not be a matter of choice or that one is optional as the original question might indicate. IMO: Omitted or neglected white box testing is simply deferred work; work remaining for others downstream in the life-cycle. Unfortunately in many organizations, where white box testing is neglected, it appears to management that development is further along than anticipated! When that happens, those forces that have the strongest influence on release dates will act to coerce a premature release based upon perceived progress – not real progress. In the interim, what typically will have happened? QC finds a large number of defects that should have been detected and corrected in development. This large number overwhelms the defect management process and people get crabby. R&D in some cases will tell the QC people to quit reporting so many defects. The product goes out the door. Waves of stupid questions arrive at the doorstep of QC. "Why did YOU let that bug get into production?" "Don’t YOU people test?" Then the QC people get really crabby and begin to commiserate at SQAForums. There are typically many areas of code untouchable by black box test engineers - if we say most of the testing executed by the black box test engineer is via the human interface. Here are a few examples of many of the possibilities:
Here is a specific example from my past related to item 4. This example illustrates two defects, neither of which could be caught in black-box testing. Context:
What?
They did not unit test the code. I ended up doing the unit and unit integration testing for this piece. My original role was to develop software (before such software existed as it does today) to verify ANSI-compliance of project software source code. I found that the library function was non-ANSI and therefore in violation of the contract. This was thus an as-implemented bug undetectable via black-box testing. I concluded that there might be a fire under the smoke. I searched deeper. The code written by the display guy obscured a defect in the code (with the library call) that created the list. Apparently the display guy thought, "Oh well, that is how the non-ANSI function works." He took that output and formatted it properly for display. This layered defect was not detectable via black-box testing. Replacement of the non-ANSI library function call with custom code exposed the display-formatting defect. LEARNINGS:
{ Last Page } { Page 31 of 46 } { Next Page } |
About MeMy Profile Archives Friends My Photo Album LinksCorey GoldbergEffective Testing? Bj Rollison I.M. Testy Blog Alan Page: Software Testing & Rants Dmitry's LoadRunner and QTP Blog Veterans History Project Air Traffic Control Watch Music Making Fun My home 1972-1975 CategoriesFunctional TestingPerformance Horror Development Performance Testing General Tools Tips Warped Humor LoadRunner Tips and Tricks Recent EntriesNew Year’s Eve of 2010 Catastrophe In the WorksIntroducing Testalis Defect Report - Politically Correct Performance Testing Vuser Personas – Part I Happy Holidays 2007 FriendsLauraScharpphilk10 richardw100 aalhait jimhazen strazzerj Lynnem bru EklecticTester jgottlieb leakybrain michaeljf prainbow rajeshmathur rstens Yury zeeslo whollymindless SyndicationRSS Site Feed |