kirancodes.me
To Proof Maintenance & Beyond!

Comparing white-box and black-box test prioritization

Christopher Henard, Mike Papadakis, Mark Harman, Yue Jia, Yves Le Traon

Abstract

Although white-box regression test prioritization has been well-studied, the more recently introduced black-box prioritization approaches have neither been compared against each other nor against more well-established white-box techniques. We present a comprehensive experimental comparison of several test prioritization techniques, including well-established white-box strategies and more recently introduced black-box approaches. We found that Combinatorial Interaction Testing and diversity-based techniques (Input Model Diversity and Input Test Set Diameter) perform best among the black-box approaches. Perhaps surprisingly, we found little difference between black-box and white-box performance (at most 4% fault detection rate difference). We also found the overlap between black- and white-box faults to be high: the first 10% of the prioritized test suites already agree on at least 60% of the faults found. These are positive findings for practicing regression testers who may not have source code available, thereby making white-box techniques inapplicable. We also found evidence that both black-box and white-box prioritization remain robust over multiple system releases.

BibTeX
@inproceedings{Henard-al:ICSE16,
  author    = {Christopher Henard and
               Mike Papadakis and
               Mark Harman and
               Yue Jia and
               Yves Le Traon},
  title     = {Comparing white-box and black-box test prioritization},
  booktitle = {ICSE},
  pages     = {523--534},
  publisher = {{ACM}},
  year      = {2016},
}

Related papers