Systems & Software Talk | ||||||||||||||||
|
Visitors since August 14, 2007:
Free Hit Counters Manual Data-driven Test Procedure ExampleThis is a simple manual data-driven test procedure. For you geeky-techie IT history buffs: Data-driven techniques were used long before the advent of tools geared toward test automation. Things to note:
BIG HUGE GINORMOUS NOTE! This was cast in MS-Word as it was intended as an example only. One could easily put this into an MS-Excel file with the input data in a column separate from the actual steps. What does this do for you? It sets you up for usage by an automated test tool. If you take it that far, then you would of course add columns as necessary to fit within your automation strategy and framework. Also, if you are thinking about ways to implement and/or improve upon this whilst you are in the jaws of an alligator or you are making a dead-stick landing in your Cessna 172; then you might just be a real tester.
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:
Functional Test Estimating GuideOf course the referenced doc is heavily caveated! :) I prepared it as a reaction to a manager (go figure) who was confrontationally wondering why my team needed "so much time" to test (go figure again). This soothed the manager. So, at the very least it can be applied as an eOintment to soothe a manager. Please leave a comment to this topic if you download this document. By all means, please feel free to critique it, use it, rant and rave, shred and use it for confetti, or pour beer on it. If you find it useful and would like your comments incorporated for the benefit of others, please inform me. I will be happy to maintain a master document accessible here. UPDATE: 15-JAN-2007 I find it amazing how many times this has been downloaded and neither critique nor gratitude has been communicated. The only way this can get better is with a feedback loop! So, let me ask again... If you download it, please leave a comment. If you have suggestions for improvement, please communicate them to me! Thank you! http://www.sqablogs.com/uploads/j/JakeBrake/296.doc
|
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 EntriesIntroducing TestalisDefect Report - Politically Correct Performance Testing Vuser Personas – Part I Happy Holidays 2007 Acceptance Testing (UAT) - Some Answers to Some Questions FriendsLauraScharpphilk10 richardw100 aalhait jimhazen strazzerj Lynnem bru EklecticTester jgottlieb leakybrain michaeljf prainbow rajeshmathur rstens Yury zeeslo whollymindless SyndicationRSS Site Feed |
|||||||||||||||