Rainbow Testing | |||||||||||||||||||||||||||||||||||||||||||
What are you smoking?
{ 06:46, 15 March 2007 }
{ 4 comments }
{ Link }
Some smart aleck in your organization has suggested “Smoke Testing” you’re wondering just what they have been smoking! Now you’ve been tasked with putting together a “Smoke Test” and explaining to your team just what it is. You’re in luck. This will be easier than lighting a pipe in a high wind. First you need to know the purpose of the activity, the rest will follow. A smoke test is just entrance criteria. It’s the “You must be this tall to ride this ride” of the testing cycle. You’re a test lead or a test manager, or just a tester who is not willing to waste their time on un-testable code. Your purpose is to find the most efficient series of tests to determine the fitness of the code. This means going long and staying high. (Is that where the smoking comes from? No.) Don’t bother with the nit-picky stuff, it has to pass the smoke test first. That’s “why” now you may be looking for “how.” There are simple methods for selecting the cases for your Smoke Test suite. First look to the Happy Path. Remember: “If the application can’t walk the Happy Path, it can’t walk at all.” The next place to look is in the weight or priority applied to your test cases. If your requirements were ranked and the test cases traced to them were ranked you should look at the high level test cases; the test cases linked to the critical requirements. If more than 10% of your test cases are of the highest rank or priority and you need for your smoke test to be streamlined, look for overlaps in functionality, duplications, or equivalents. Can you eliminate down to one case for each area or function? Remember, your smoke test isn’t the last word, it’s the “go” word. (Streamlined, streams of smoke, is that where we got the word? Not quite.) Is there a shortcut to finding the showstoppers? Do you have access to insight on the code or on the formatting of messages? Sometimes the fastest way to find the problem is to look into the code itself. If you can shortcut the process by putting some white box testing up front, don’t hesitate to move this to the head of the line. Don’t wait for the testers who only have blind access through the interface to stumble on the problem if you can see it faster by having a developer provide you with access to the internal message formatting. (Getting smoke in your eyes, is that it? No, that's not it either.) Here are three examples of the usefulness of smoke testing: You’re a test manager with a team of 7 testers that are already working on various projects. You know that it takes a certain amount of time for them to switch gears and that’s time lost. The code you are getting from the development team on this brand new project isn’t always ready for test. Sometimes you can’t even log in to the new version without it crashing. You’re not willing to “throw it over the wall” to the whole team if you can’t log in and process the most basic transactions. You put together a “Happy Path” through the code to touch the most basic functionality, without visiting the exception cases. If it fails the Happy Path, you can push it back to the development team without breaking the concentration of your testers. You are a single tester with a detailed 1,000 test case suite ready to go. Each section of the suite plumbs the depths of the functionality of the new development. Running the test cases in order you could take 3 – 4 hours to detect a show stopper bug in a specific module, depending on which section you ran first. But running the 1st test case from each section will cover the breadth of the development and uncover any show stoppers in the 1st hour of testing. Your testing involves white box and black box testing. The black box functional testing will be performed through the user interface by a user group who will be rattled by catastrophic failures. The white box team can see into the code and examine the formatting of the messages that will shape the user group’s experience of the application. If the message formatting isn’t right, the user interface won’t function correctly. It is simple to run a few messages through and examine their formatting to find the errors that are guaranteed to cause failure. This will save you time and energy. Don’t confuse the purpose of smoke testing with your detailed testing. This is a quick high level exercise that is designed to detect a leak that could turn into a disaster. And by the way, that’s where we got the term: from plumbing! Efficient and cost effective, smoke testing has become a world-wide standard for finding leaks in sewer and plumbing systems. By forcing smoke-filled air through a sewer or plumbing system, leaks can be quickly detected as smoke escapes through problem areas. Now you’re ready to smoke! { Last Page } { Page 7 of 10 } { Next Page } |
About MeMy Profile Archives Friends My Photo Album
LinksSoftware Quality Association of DenverQuality Assurance Institute Worldwide Sticky Minds - online testing magazine Cem Kaner's website Website of company headed by Hung Nguyen CategoriesSoftware TestingBook Review Recent EntriesRegression testing – the Ugly Betty of Testing…Greater is the art of ending Zombie projects – when the software lifecycle won’t die The test of true love The risk retrospective: a hero's eye view Friendsifraserjimhazen strazzerj PeteNairn SyndicationSite Feed |
||||||||||||||||||||||||||||||||||||||||||