Skip to main content
Erschienen in: International Journal on Software Tools for Technology Transfer 6/2019

24.09.2019 | Foundations for Mastering Change

Sampling strategies for product lines with unbounded parametric real-time constraints

verfasst von: Lars Luthmann, Timo Gerecht, Malte Lochau

Erschienen in: International Journal on Software Tools for Technology Transfer | Ausgabe 6/2019

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Combinatorial interaction testing (CIT) has been successfully applied to product-line testing for selecting from a usually very large configuration space a relatively small sample of test configurations sufficiently covering critical combinations of configuration options. As most recent CIT techniques like pairwise sampling are limited to finite configuration spaces (i.e., vectors of yes/no options), they are not directly applicable to configuration parameters with a priori unbounded value domains (e.g., for adjusting unlimited resources or non-functional properties). Applying existing sampling strategies to infinite configuration spaces therefore requires further heuristics for selecting a finite subset of parameter-value combinations to be covered. Nevertheless, applying purely black-box heuristics may produce inherently ineffective test suites in which particularly critical parameter-value combinations are missed. In order to tackle this problem, we present a novel methodology for effectively sampling product lines with infinite configuration spaces by means of freely configurable real-time behaviors. To this end, we employ solution-space information obtained from our new modeling formalism, configurable parametric timed automata, to generate samples for covering critical best-case/worst-case execution-time behaviors. We also present a tool implementation which we applied to a collection of subject systems to demonstrate the applicability of our approach.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Al-Hajjaji, M., Meinicke, J., Krieter, S., Schröter, R., Thüm, T., Leich, T., Saake, G.: Tool Demo: testing configurable systems with FeatureIDE. In: Proceedings of the 2016 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2016, pp. 173–177. ACM (2016). https://doi.org/10.1145/2993236.2993254 Al-Hajjaji, M., Meinicke, J., Krieter, S., Schröter, R., Thüm, T., Leich, T., Saake, G.: Tool Demo: testing configurable systems with FeatureIDE. In: Proceedings of the 2016 ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2016, pp. 173–177. ACM (2016). https://​doi.​org/​10.​1145/​2993236.​2993254
13.
Zurück zum Zitat Baller, H., Lity, S., Lochau, M., Schaefer, I.: Multi-objective test suite optimization for incremental product family testing. In: IEEE Seventh International Conference on Software Testing, Verification and Validation, pp. 303–312 (2014). https://doi.org/10.1109/ICST.2014.43 Baller, H., Lity, S., Lochau, M., Schaefer, I.: Multi-objective test suite optimization for incremental product family testing. In: IEEE Seventh International Conference on Software Testing, Verification and Validation, pp. 303–312 (2014). https://​doi.​org/​10.​1109/​ICST.​2014.​43
14.
Zurück zum Zitat Behrmann, G., Fehnker, A., Hune, T., Larsen, K., Pettersson, P., Romijn, J., Vaandrager, F.: Minimum-cost reachability for priced timed automata. In: HSCC, vol. 1, pp. 147–161. Springer (2001) Behrmann, G., Fehnker, A., Hune, T., Larsen, K., Pettersson, P., Romijn, J., Vaandrager, F.: Minimum-cost reachability for priced timed automata. In: HSCC, vol. 1, pp. 147–161. Springer (2001)
17.
Zurück zum Zitat Bürdek, J., Lochau, M., Bauregger, S., Holzer, A., von Rhein, A., Apel, S., Beyer, D.: Facilitating reuse in multi-goal test-suite generation for software product lines. In: Egyed, A., Schaefer, I. (eds.) Fundamental Approaches to Software Engineering, pp. 84–99. Springer, Berlin (2015). https://doi.org/10.1007/978-3-662-46675-9_6 CrossRef Bürdek, J., Lochau, M., Bauregger, S., Holzer, A., von Rhein, A., Apel, S., Beyer, D.: Facilitating reuse in multi-goal test-suite generation for software product lines. In: Egyed, A., Schaefer, I. (eds.) Fundamental Approaches to Software Engineering, pp. 84–99. Springer, Berlin (2015). https://​doi.​org/​10.​1007/​978-3-662-46675-9_​6 CrossRef
22.
Zurück zum Zitat Cordy, M., Schobbens, P.Y., Heymans, P., Legay, A.: Behavioural modelling and verification of real-time software product lines. In: Proceedings of the 16th International Software Product Line Conference, pp. 66–75. ACM (2012). https://doi.org/10.1145/2362536.2362549 Cordy, M., Schobbens, P.Y., Heymans, P., Legay, A.: Behavioural modelling and verification of real-time software product lines. In: Proceedings of the 16th International Software Product Line Conference, pp. 66–75. ACM (2012). https://​doi.​org/​10.​1145/​2362536.​2362549
25.
26.
Zurück zum Zitat Dick, J., Faivre, A.: Automating the generation and sequencing of test cases from model-based specifications. In: Woodcock, J.C.P., Larsen, P.G. (eds.) FME ’93: Industrial-Strength Formal Methods, pp. 268–284. Springer, Berlin (1993). https://doi.org/10.1007/BFb0024651 CrossRef Dick, J., Faivre, A.: Automating the generation and sequencing of test cases from model-based specifications. In: Woodcock, J.C.P., Larsen, P.G. (eds.) FME ’93: Industrial-Strength Formal Methods, pp. 268–284. Springer, Berlin (1993). https://​doi.​org/​10.​1007/​BFb0024651 CrossRef
27.
Zurück zum Zitat Dill, D.L.: Timing assumptions and verification of finite-state concurrent systems. In: Sifakis, J. (ed.) Automatic Verification Methods for Finite State Systems, pp. 197–212. Springer, Berlin (1990)CrossRef Dill, D.L.: Timing assumptions and verification of finite-state concurrent systems. In: Sifakis, J. (ed.) Automatic Verification Methods for Finite State Systems, pp. 197–212. Springer, Berlin (1990)CrossRef
28.
Zurück zum Zitat Haslinger, E.N., Lopez-Herrejon, R.E., Egyed, A.: Using feature model knowledge to speed up the generation of covering arrays. In: Proceedings of the Seventh International Workshop on Variability Modelling of Software-intensive Systems, VaMoS ’13, pp. 16:1–16:6. ACM (2013). https://doi.org/10.1145/2430502.2430524 Haslinger, E.N., Lopez-Herrejon, R.E., Egyed, A.: Using feature model knowledge to speed up the generation of covering arrays. In: Proceedings of the Seventh International Workshop on Variability Modelling of Software-intensive Systems, VaMoS ’13, pp. 16:1–16:6. ACM (2013). https://​doi.​org/​10.​1145/​2430502.​2430524
29.
Zurück zum Zitat Havelund, K., Skou, A., Larsen, K.G., Lund, K.: Formal modeling and analysis of an audio/video protocol: an industrial case study using UPPAAL. In: RTSS’97, pp. 2–13 (1997). REAL.1997.641264 Havelund, K., Skou, A., Larsen, K.G., Lund, K.: Formal modeling and analysis of an audio/video protocol: an industrial case study using UPPAAL. In: RTSS’97, pp. 2–13 (1997). REAL.1997.641264
31.
Zurück zum Zitat Jensen, H.E., Larsen, K.G., Skou, A.: Modelling and analysis of a collision avoidance protocol using spin and UPPAAL. In: DIMACS’96 (1996) Jensen, H.E., Larsen, K.G., Skou, A.: Modelling and analysis of a collision avoidance protocol using spin and UPPAAL. In: DIMACS’96 (1996)
32.
Zurück zum Zitat Johansen, M.F., Haugen, O., Fleurey, F.: An algorithm for generating t-wise covering arrays from large feature models. In: Proceedings of the 16th International Software Product Line Conference, SPLC ’12, Vol. 1, pp. 46–55. ACM (2012). https://doi.org/10.1145/2362536.2362547 Johansen, M.F., Haugen, O., Fleurey, F.: An algorithm for generating t-wise covering arrays from large feature models. In: Proceedings of the 16th International Software Product Line Conference, SPLC ’12, Vol. 1, pp. 46–55. ACM (2012). https://​doi.​org/​10.​1145/​2362536.​2362547
33.
Zurück zum Zitat Johansen, M.F., Haugen, Ø., Fleurey, F., Eldegard, A.G., Syversen, T.: Generating better partial covering arrays by modeling weights on sub-product lines. In: France, R.B., Kazmeier, J., Breu, R., Atkinson, C. (eds.) Model Driven Engineering Languages and Systems, pp. 269–284. Springer, Berlin (2012)CrossRef Johansen, M.F., Haugen, Ø., Fleurey, F., Eldegard, A.G., Syversen, T.: Generating better partial covering arrays by modeling weights on sub-product lines. In: France, R.B., Kazmeier, J., Breu, R., Atkinson, C. (eds.) Model Driven Engineering Languages and Systems, pp. 269–284. Springer, Berlin (2012)CrossRef
34.
Zurück zum Zitat Kang, K.C., Cohen, S.G., Hess, J.A., Novak, W.E., Peterson, A.S.: Feature-oriented domain analysis (FODA) feasibility study. Technical Report, DTIC Document (1990) Kang, K.C., Cohen, S.G., Hess, J.A., Novak, W.E., Peterson, A.S.: Feature-oriented domain analysis (FODA) feasibility study. Technical Report, DTIC Document (1990)
37.
Zurück zum Zitat King, A., Sokolsky, O., Lee, I.: A modal specification theory for timing variability. Technical Report, Report No. MS-CIS-13-11. Department of Computer and Information Science Technical, University of Pennsylvania (2013) King, A., Sokolsky, O., Lee, I.: A modal specification theory for timing variability. Technical Report, Report No. MS-CIS-13-11. Department of Computer and Information Science Technical, University of Pennsylvania (2013)
38.
Zurück zum Zitat Kolesnikov, S.S., Apel, S., Siegmund, N., Sobernig, S., Kästner, C., Senkaya, S.: Predicting quality attributes of software product lines using software and network measures and sampling. In: Proceedings of the Seventh International Workshop on Variability Modelling of Software-intensive Systems, VaMoS ’13, pp. 6:1–6:5. ACM (2013). https://doi.org/10.1145/2430502.2430511 Kolesnikov, S.S., Apel, S., Siegmund, N., Sobernig, S., Kästner, C., Senkaya, S.: Predicting quality attributes of software product lines using software and network measures and sampling. In: Proceedings of the Seventh International Workshop on Variability Modelling of Software-intensive Systems, VaMoS ’13, pp. 6:1–6:5. ACM (2013). https://​doi.​org/​10.​1145/​2430502.​2430511
39.
Zurück zum Zitat Krenn, W., Ničković, D., Tec, L.: Incremental language inclusion checking for networks of timed automata. In: Braberman, V., Fribourg, L. (eds.) Formal Modeling and Analysis of Timed Systems, pp. 152–167. Springer, Berlin (2013)CrossRef Krenn, W., Ničković, D., Tec, L.: Incremental language inclusion checking for networks of timed automata. In: Braberman, V., Fribourg, L. (eds.) Formal Modeling and Analysis of Timed Systems, pp. 152–167. Springer, Berlin (2013)CrossRef
43.
Zurück zum Zitat Luthmann, L., Stephan, A., Bürdek, J., Lochau, M.: Modeling and testing product lines with unbounded parametric real-time constraints. In: Proceedings of the 21st International Systems and Software Product Line Conference, pp. 104–113. ACM (2017). https://doi.org/10.1145/3106195.3106204 Luthmann, L., Stephan, A., Bürdek, J., Lochau, M.: Modeling and testing product lines with unbounded parametric real-time constraints. In: Proceedings of the 21st International Systems and Software Product Line Conference, pp. 104–113. ACM (2017). https://​doi.​org/​10.​1145/​3106195.​3106204
45.
Zurück zum Zitat de Moura, L., Bjørner, N.: Z3: an efficient SMT solver. In: Ramakrishnan, C.R., Rehof, J. (eds.) Tools and Algorithms for the Construction and Analysis of Systems, pp. 337–340. Springer, Berlin (2008)CrossRef de Moura, L., Bjørner, N.: Z3: an efficient SMT solver. In: Ramakrishnan, C.R., Rehof, J. (eds.) Tools and Algorithms for the Construction and Analysis of Systems, pp. 337–340. Springer, Berlin (2008)CrossRef
47.
Zurück zum Zitat Niebert, P., Tripakis, S., Yovine, S.: Minimum-time reachability for timed automata. In: IEEE Mediteranean Control Conference (2000) Niebert, P., Tripakis, S., Yovine, S.: Minimum-time reachability for timed automata. In: IEEE Mediteranean Control Conference (2000)
48.
Zurück zum Zitat Oh, J., Batory, D., Myers, M., Siegmund, N.: Finding near-optimal configurations in product lines by random sampling. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering, ESEC/FSE 2017, pp. 61–71. ACM (2017). https://doi.org/10.1145/3106237.3106273 Oh, J., Batory, D., Myers, M., Siegmund, N.: Finding near-optimal configurations in product lines by random sampling. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering, ESEC/FSE 2017, pp. 61–71. ACM (2017). https://​doi.​org/​10.​1145/​3106237.​3106273
49.
Zurück zum Zitat Oster, S., Markert, F., Ritter, P.: Automated incremental pairwise testing of software product lines. In: Bosch, J., Lee, J. (eds.) Software Product Lines: Going Beyond, pp. 196–210. Springer, Berlin Heidelberg (2010)CrossRef Oster, S., Markert, F., Ritter, P.: Automated incremental pairwise testing of software product lines. In: Bosch, J., Lee, J. (eds.) Software Product Lines: Going Beyond, pp. 196–210. Springer, Berlin Heidelberg (2010)CrossRef
51.
Zurück zum Zitat Perrouin, G., Sen, S., Klein, J., Baudry, B., le Traon, Y.: Automated and scalable t-wise test case generation strategies for software product lines. In: Third International Conference on Software Testing, Verification and Validation, pp. 459–468. IEEE (2010). https://doi.org/10.1109/ICST.2010.43 Perrouin, G., Sen, S., Klein, J., Baudry, B., le Traon, Y.: Automated and scalable t-wise test case generation strategies for software product lines. In: Third International Conference on Software Testing, Verification and Validation, pp. 459–468. IEEE (2010). https://​doi.​org/​10.​1109/​ICST.​2010.​43
52.
Zurück zum Zitat Reuling, D., Bürdek, J., Rotärmel, S., Lochau, M., Kelter, U.: Fault-based product-line testing: effective sample generation based on feature-diagram mutation. In: Proceedings of the 19th International Conference on Software Product Line, SPLC ’15, pp. 131–140. ACM (2015). https://doi.org/10.1145/2791060.2791074 Reuling, D., Bürdek, J., Rotärmel, S., Lochau, M., Kelter, U.: Fault-based product-line testing: effective sample generation based on feature-diagram mutation. In: Proceedings of the 19th International Conference on Software Product Line, SPLC ’15, pp. 131–140. ACM (2015). https://​doi.​org/​10.​1145/​2791060.​2791074
54.
Zurück zum Zitat Sarkar, A., Guo, J., Siegmund, N., Apel, S., Czarnecki, K.: Cost-efficient sampling for performance prediction of configurable systems (t). In: 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 342–352. IEEE (2015). https://doi.org/10.1109/ASE.2015.45 Sarkar, A., Guo, J., Siegmund, N., Apel, S., Czarnecki, K.: Cost-efficient sampling for performance prediction of configurable systems (t). In: 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 342–352. IEEE (2015). https://​doi.​org/​10.​1109/​ASE.​2015.​45
57.
Zurück zum Zitat Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann, Burlington (2010) Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann, Burlington (2010)
Metadaten
Titel
Sampling strategies for product lines with unbounded parametric real-time constraints
verfasst von
Lars Luthmann
Timo Gerecht
Malte Lochau
Publikationsdatum
24.09.2019
Verlag
Springer Berlin Heidelberg
Erschienen in
International Journal on Software Tools for Technology Transfer / Ausgabe 6/2019
Print ISSN: 1433-2779
Elektronische ISSN: 1433-2787
DOI
https://doi.org/10.1007/s10009-019-00532-4

Weitere Artikel der Ausgabe 6/2019

International Journal on Software Tools for Technology Transfer 6/2019 Zur Ausgabe

Foundations for Mastering Change

Quantitative properties of featured automata

Foundations for Mastering Change

Quantitative variability modelling and analysis