Klaus Olsen Elaborates on Bug Hunting
InfoQ: Can you please explain some more about the origins of bug hunting?
I read about it in James Whittaker’s book "How to Break Software" from 2003 where he on one page explained the set-up he used at Florida Institute of Technology. I was inspired by the description and made a workshop at a local Danish SIGIST (Special Interest Group for Software Testing back in 2003) to try the concept and I then presented the idea as a workshop at EuroSTAR 2003 in Amsterdam with success.
I have subsequently worked with several companies where we have used bug hunting and I have built upon these experience and later presented my result and experience at conferences in New Delhi, India, Sydney and Canberra in Australia and Praha and Helsinki as well as Lisbon in Europe.
InfoQ: When did you feel attracted by this technique and why?
I felt attracted immediately because of the mix of applying test techniques to your testing, working in pairs which encourages knowledge sharing within both testing and domain areas, and on top of this you get team building all at the same time.
And the big benefit: you get knowledge about the software under test, and most often the team will identify a list of defects within the software, which we can fix and by this improve the software once we have done some re-test of the defects to make sure the fix works correctly and regressions test of the software in general, to document the overall quality.
InfoQ: What are, in your opinion, the main advantages of using it?
It is a very fast way to ensure the quality of any piece of software. If a well-planned bug hunt executed during two hours with 10 to 16 people doesn't find any defects or finds very few defects, depended on the size and complexity of the software we are testing, then my experience tells me that the quality of this software probably is above the average of the software I´am usually involved in testing.
It works very well as an effective smoke test, when you receive software from another company and your company will plan and execute acceptance testing. Then a bug hunt prior to the acceptance test can work as a quality check ensuring to see if it's good enough for you to involve your business people to help execute testcases during the acceptance testing.
If you find a large number of defects and high priority defects, you know you must postpone the acceptance test and get the quality improved before you involve your business people to help.
InfoQ: You referred to it as "no silver bullet" so, what techniques do you suggest to use along with bug hunting? Can you give some examples?
Bug Hunting is built on exploratory testing which I think is a good method or approach to testing, but it has a weakness if you are building your test upon what you can see when running the software.
The problem exists if there are some requirements which have not been implemented in the software you are testing then you will probably not be able to identify these missing parts in a test where you only apply exploratory testing. For this reason you need to have some level of structural test planned with traceability between the requirements and test cases you plan and execute.
This will provide a better approach to ensure that all requirements will be covered during test.
Mike Hartington Jul 26, 2015