Publication Type |
Manuscript |
School or College |
College of Engineering |
Department |
Computing, School of |
Creator |
Regehr, John |
Other Author |
Groce, Alex; Zhang, Chaoqiang; Eide, Eric; Chen, Yang |
Title |
Swarm testing |
Date |
2012-01-01 |
Description |
Swarm testing is a novel and inexpensive way to improve the diversity of test cases generated during random testing. Increased diversity leads to improved coverage and fault detection. In swarm testing, the usual practice of potentially including all features in every test case is abandoned. Rather, a large "swarm" of randomly generated configurations, each of which omits some features, is used, with configurations receiving equal resources. We have identified two mechanisms by which feature omission leads to better exploration of a system's state space. First, some features actively prevent the system from executing interesting behaviors; e.g., "pop" calls may prevent a stack data structure from executing a bug in its overflow detection logic. Second, even when there is no active suppression of behaviors, test features compete for space in each test, limiting the depth to which logic driven by features can be explored. Experimental results show that swarm testing increases coverage and can improve fault detection dramatically; for example, in a week of testing it found 42% more distinct ways to crash a collection of C compilers than did the heavily hand-tuned default configuration of a random tester. |
Type |
Text |
Publisher |
Association for Computing Machinery |
First Page |
1 |
Last Page |
11 |
DOI |
http://doi.acm.org/10.1145/NNNNNNN.NNNNNNN. |
Dissertation Institution |
University of Utah |
Language |
eng |
Bibliographic Citation |
Groce, A., Zhang, C., Eide, E., Chen, Y., & Regehr, J. (2012). Swarm testing. In Proceedings of the International Symposium on Software Testing and Analysis (ISSTA 2012), 1-11. July. |
Rights Management |
(c) ACM, 2012. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Proceedings of the 2012 International Symposium on Software Testing and Analysis (ISSTA), Minneapolis, MN, Jul. 2012. |
Format Medium |
application/pdf |
Format Extent |
1,000,254 bytes |
Identifier |
uspace,17467 |
ARK |
ark:/87278/s69g65jn |
Setname |
ir_uspace |
ID |
707966 |
Reference URL |
https://collections.lib.utah.edu/ark:/87278/s69g65jn |