Designing a Test Model for a Configurable System: An Exploratory Study of Preprocessor Directives and Feature Toggles (bibtex)
by Stefan Fischer, Gabriela K. Michelon, Wesley K. G. Assunção, Rudolf Ramler, Alexander Egyed
Abstract:
Testing is important in software development, but it has high cost. Thus, techniques to reduce the cost of software testing have been proposed. Model-based testing, one of such techniques, focuses on automatizing the generation of test cases. In the context of highly configurable systems, model-based testing must capture the system behavior and also encode the variability that exists among the variants. Previous research has shown promising results in applying model-based testing to configurable systems. Test models that encode variability into them directly improve the reasoning for faults from interactions. However, there is no study about the use of different variability mechanisms to encode variability in test models. In this paper, we investigate advantages and drawbacks of test model designs exploring the use of two variability mechanisms, namely preprocessor directives and feature toggles. The results are discussed in regard to run-time reasoning and re-configuration, alongside with metrics about complexity and maintainability. With this work, we contribute to the testing activity of highly configurable systems by providing engineers insights of comparing two well-known and widely used variability mechanisms, which can support informed decisions when choosing for which mechanisms to use for model-based testing.
Reference:
Designing a Test Model for a Configurable System: An Exploratory Study of Preprocessor Directives and Feature Toggles (Stefan Fischer, Gabriela K. Michelon, Wesley K. G. Assunção, Rudolf Ramler, Alexander Egyed), In 17th International Working Conference on Variability Modelling of Software-Intensive Systems (VaMoS), Odense, Denmark (Myra B. Cohen, Thomas Thüm, Jacopo Mauro, eds.), ACM, 2023.
Bibtex Entry:
@Conference{Fischer2023b,
  author    = {Stefan Fischer and Gabriela K. Michelon and Wesley K. G. Assunção and Rudolf Ramler and Alexander Egyed},
  booktitle = {17th International Working Conference on Variability Modelling of Software-Intensive Systems (VaMoS), Odense, Denmark},
  title     = {Designing a Test Model for a Configurable System: An Exploratory Study of Preprocessor Directives and Feature Toggles},
  year      = {2023},
  editor    = {Myra B. Cohen and Thomas Th{\"{u}}m and Jacopo Mauro},
  pages     = {31--39},
  publisher = {{ACM}},
  abstract  = {Testing is important in software development, but it has high cost. Thus, techniques to reduce the cost of software testing have been proposed. Model-based testing, one of such techniques, focuses on automatizing the generation of test cases. In the context of highly configurable systems, model-based testing must capture the system behavior and also encode the variability that exists among the variants. Previous research has shown promising results in applying model-based testing to configurable systems. Test models that encode variability into them directly improve the reasoning for faults from interactions. However, there is no study about the use of different variability mechanisms to encode variability in test models. In this paper, we investigate advantages and drawbacks of test model designs exploring the use of two variability mechanisms, namely preprocessor directives and feature toggles. The results are discussed in regard to run-time reasoning and re-configuration, alongside with metrics about complexity and maintainability. With this work, we contribute to the testing activity of highly configurable systems by providing engineers insights of comparing two well-known and widely used variability mechanisms, which can support informed decisions when choosing for which mechanisms to use for model-based testing.},
  bibsource = {dblp computer science bibliography, https://dblp.org},
  biburl    = {https://dblp.org/rec/conf/vamos/0006MARE23.bib},
  doi       = {10.1145/3571788.3571795},
  keywords  = {LIT Secure and Correct Systems Lab, FWF P31989, SCCH},
  timestamp = {Tue, 31 Jan 2023 15:18:43 +0100},
  url       = {https://doi.org/10.1145/3571788.3571795},
}
Powered by bibtexbrowser