Curious Cat Management Improvement Blog: Deming, lean thinking, innovation, customer focus, continual improvement, six sigma.
March 26, 2009
Combinatorial Testing for Software

Combinatorial testing of software is very similar to the design of experiments work my father was involved in, and which I have a special interest in. Combinatorial testing looks at binary interaction effects (success or failure), since it is seeking to find bugs in software, while design of experiments captures the magnitude of interaction effects on performance. In the last several years my brother, Justin Hunter, has been working on using combinatorial testing to improve software development practices. He visited me this week and we discussed the potential value of increasing the adoption of combinatorial testing, which is similar to the value of increasing the adoption of the use of design of experiments: both offer great opportunities for large improvements in current practices.

Automated Combinatorial Testing for Software

Software developers frequently encounter failures that occur only as the result of an interaction between two components. Testers often use pairwise testing – all pairs of parameter values – to detect such interactions. Combinatorial testing beyond pairwise is rarely used because good algorithms for higher strength combinations (e.g., 4-way or more) have not been available, but empirical evidence shows that some errors are triggered only by the interaction of three, four, or more parameters

Practical Combinatorial Testing: Beyond Pairwise by Rick Kuhn, US National Institute of Standards and Technology; Yu Lei, University of Texas, Arlington; and Raghu Kacker, US National Institute of Standards and Technology.

the detection rate increased rapidly with interaction strength. Within the NASA database application, for example, 67 percent of the failures were triggered by only a single parameter value, 93 percent by two-way combinations, and 98 percent by three-way combinations.2 The detection-rate curves for the other applications studied are similar, reaching 100 percent detection with four- to six-way interactions.
These results are not conclusive, but they suggest that the degree of interaction involved in faults is relatively low, even though pairwise testing is insufficient. Testing all four- to six-way combinations might therefore provide reasonably high assurance.

Related: Future Directions for Agile ManagementThe Defect Black MarketMetrics and Software DevelopmentFull and Fractional Factorial Test DesignGoogle Website Optimizer

5 Responses to “Combinatorial Testing for Software”

  1. Justin Says:

    John,

    Thanks for getting the word out about the efficiency and quality benefits available through pairwise software testing and other forms of combinatorial software testing. It is surprising to me that the benefits are not more broadly known by testing community, given how fast, easy, and unambiguous it is to measure the benefits.

    For any of your readers interested in finding out more about combinatorial testing, I would recommend a couple clear and concise articles posted at:

    http://www.combinatorialtesting.com/clear-introductions-1

    and the pairwise testing instructional videos posted at:

    http://www.combinatorialtesting.com/videos

    - Justin

  2. Justin Says:

    And also, please check out Hexawise, the new test design tool I have developed that uses these Design of Experiments principles to improve the efficiency and effectiveness of software testing. Proof of concept pilot projects we are currently conducting at multiple companies are showing the following results: (1) Reduction in time it takes to identify and document test cases of 30-40%, (2) Reduction in test execution times of approximately 25-35% (because fewer, more effective test cases are run), and (3) Reduction in cost to fix defects (because more defects are found sooner with the more effective test cases).

    Free trials (and a free version) are available at: http://hexawise.com/users/new

    Thank you.

    - Justin
    Founder and CEO of Hexawise
    http:www.hexawise.com
    “More coverage. Fewer tests.”

  3. Curious Cat Management Blog: Three Years of Real-World IT Projects In Ruby Says:

    The talk provides a good background on their experience using ruby to manage projects; and how they manage ruby application development projects…

  4. Curious Cat Management Blog: Baking in Quality to Software Development Says:

    One of the reasons my organizations switched to Ruby on Rails for software development was the great integration with automated testing…

  5. Tim Says:

    I appreciate that you are helping spread the word about Combinatorial Testing software. I really wish this field was expanded on by the experts!
    Thanks again

Leave a Reply


Curious Cat Management Improvement Blog © curiouscat.com 2005-2010

Internal Links

Author

John Hunter

Tags

Bill Hunter blogs Books Career Carnival cars commentary Creativity curiouscat Customer focus Data Deming Economics economy engineering executive pay Google Health care Innovation internet Investing IT Japan John Hunter lean manufacturing Lean thinking Madison management managing people Manufacturing overpaid executives Performance Appraisal Process improvement Psychology Quality tools quote respect for people Six sigma Software Development Statistics Systems thinking tips Toyota Toyota Production System (TPS) webcast
Full tag could

Other

Search Blog

Web Search

Management Improvement web search

Recent Comments

  • Nick McCormick: Agreed John. Slogans can be good or bad. They can be effective if the rank and file come up with...
  • Halvard: I have reservations about the Obama Healthcare Plan. Can it create costly effects to my families well being?...
  • Rob: Absolutely excellent videos. Deming is timeless and his message resonates today.
  • Jamie Flinchbaugh: I am curious to watch it. I believe the executives will probably have some ah-has and some good...
  • Jamie Flinchbaugh: Thanks for including me. I’m glad you choose Fail, Learn, Lead. I think it’s a really...
  • ilskan: @Kyle: I suppose so. Ideally you want a happy medium, though; the other end of the spectrum can be pretty...
  • Anonymous: I recently stayed in a ski lodge in the white mountains Arizona for me and the wife’s anniversary....
  • Jamie Flinchbaugh: I’m sure you are right that there are many frustrated people, but one of the benefits of...
  • Karen Wilhelm: Great find – lean starters in need of do-it-yourself training curriculum can really benefit from...
  • Mark Graban: Nice post, John. I’ll hold out hope that this is more than a form of industrial tourism. Executive...

Archives

March 2009
M T W T F S S
« Feb   Apr »
 1
2345678
9101112131415
16171819202122
23242526272829
3031