Towards Scalable Configuration Testing in Variable Software
Title | Towards Scalable Configuration Testing in Variable Software |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Rothberg, Valentin, Dietrich, Christian, Ziegler, Andreas, Lohmann, Daniel |
Conference Name | Proceedings of the 2016 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-4446-3 |
Keywords | compositionality, Configurability, Linux, Metrics, pubcrawl, Resiliency, sampling, Scalability, scalable verification, software product lines, Software Testing |
Abstract | Testing a software product line such as Linux implies building the source with different configurations. Manual approaches to generate configurations that enable code of interest are doomed to fail due to the high amount of variation points distributed over the feature model, the build system and the source code. Research has proposed various approaches to generate covering configurations, but the algorithms show many drawbacks related to run-time, exhaustiveness and the amount of generated configurations. Hence, analyzing an entire Linux source can yield more than 30 thousand configurations and thereby exceeds the limited budget and resources for build testing. In this paper, we present an approach to fill the gap between a systematic generation of configurations and the necessity to fully build software in order to test it. By merging previously generated configurations, we reduce the number of necessary builds and enable global variability-aware testing. We reduce the problem of merging configurations to finding maximum cliques in a graph. We evaluate the approach on the Linux kernel, compare the results to common practices in industry, and show that our implementation scales even when facing graphs with millions of edges. |
URL | http://doi.acm.org/10.1145/2993236.2993252 |
DOI | 10.1145/2993236.2993252 |
Citation Key | rothberg_towards_2016 |