skip to main content
10.1145/2556624.2556635acmotherconferencesArticle/Chapter ViewAbstractPublication PagesvamosConference Proceedingsconference-collections
research-article

Towards statistical prioritization for software product lines testing

Published:22 January 2014Publication History

ABSTRACT

Software Product Lines (SPLs) are inherently difficult to test due to the combinatorial explosion of the number of products to consider. To reduce the number of products to test, sampling techniques such as combinatorial interaction testing have been proposed. They usually start from a feature model and apply a coverage criterion (e.g. pairwise feature interaction or dissimilarity) to generate tractable, fault-finding, lists of configurations to be tested. Prioritization can also be used to sort/generate such lists, optimizing coverage criteria or weights assigned to features. However, current sampling/prioritization techniques barely take product behaviour into account. We explore how ideas of statistical testing, based on a usage model (a Markov chain), can be used to extract configurations of interest according to the likelihood of their executions. These executions are gathered in featured transition systems, compact representation of SPL behaviour. We discuss possible scenarios and give a prioritization procedure validated on a web-based learning management software.

References

  1. P. Asirelli, M. H. ter Beek, A. Fantechi, S. Gnesi, and F. Mazzanti. Design and validation of variability in product lines. In PLEASE '11, pages 25--30. ACM, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. P. Asirelli, M. H. ter Beek, S. Gnesi, and A. Fantechi. Formal description of variability in product families. In SPLC '11, pages 130--139. IEEE, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Claroline. http://www.claroline.net/.Google ScholarGoogle Scholar
  4. A. Classen, M. Cordy, P.-Y. Schobbens, P. Heymans, A. Legay, and J.-F. Raskin. Featured Transition Systems: Foundations for Verifying Variability-Intensive Systems and their Application to LTL Model Checking. TSE, PP(99):1--22, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Classen, P. Heymans, P. Schobbens, and A. Legay. Symbolic model checking of software product lines. In ICSE '11, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. A. Classen, P. Heymans, P. Schobbens, A. Legay, and J. Raskin. Model checking lots of systems: efficient verification of temporal properties in software product lines. In ICSE '10, pages 335--344. ACM, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Cohen, M. Dwyer, and J. Shi. Interaction testing of highly-configurable systems in the presence of constraints. In ISSTA 07, pages 129--139, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. B. Cohen, M. B. Dwyer, and J. Shi. Coverage and adequacy in software product line testing. In ROSATEA '06, pages 53--63, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. Cordy, P. Heymans, P.-Y. Schobbens, A. M. Sharifloo, C. Ghezzi, and A. Legay. Verification for reliable product lines. arXiv:1311.1343, 2013.Google ScholarGoogle Scholar
  10. K. Czarnecki and A. Wasowski. Feature Diagrams and Logics: There and Back Again. In SPLC '07, pages 23--34. IEEE, Sept. 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. X. Devroey, M. Cordy, G. Perrouin, E.-Y. Kang, P.-Y. Schobbens, P. Heymans, A. Legay, and B. Baudry. A Vision for Behavioural Model-Driven Validation of Software Product Lines. ISoLA '12, pages 208--222. Springer-Verlag, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. A. Feliachi and H. Le Guen. Generating transition probabilities for automatic model-based test generation. In ICST '10, pages 99--102. IEEE, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. D. Fischbein, S. Uchitel, and V. Braberman. A foundation for behavioural conformance in software product line architectures. In ROSATEA '06, pages 39--48. ACM, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S.-D. Gouraud, A. Denise, M.-C. Gaudel, and B. Marre. A new way of automating statistical testing methods. In ASE '01. IEEE Computer Society, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. C. Henard, M. Papadakis, G. Perrouin, J. Klein, and Y. L. Traon. Multi-objective test generation for software product lines. SPLC '13, pages 62--71. ACM, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. M. F. Johansen, Ø. Haugen, F. Fleurey, A. G. Eldegard, and T. Syversen. Generating better partial covering arrays by modeling weights on sub-product lines. In MoDELS '12, pages 269--284, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. K. C. Kang, S. G. Cohen, J. A. Hess, W. E. Novak, and A. Spencer Peterson. Feature-Oriented domain analysis (FODA) feasibility study. Technical report, Soft. Eng. Inst., Carnegie Mellon Univ., 1990.Google ScholarGoogle Scholar
  18. C. H. P. Kim, S. Khurshid, and D. S. Batory. Shared execution for efficiently testing product lines. In ISSRE '12, pages 221--230, 2012.Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. K. Lauenroth, K. Pohl, and S. Toehning. Model checking of domain artifacts in product line engineering. In ASE '09, pages 269--280. IEEE, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. M. Lochau, S. Oster, U. Goltz, and A. Schürr. Model-based pairwise testing for feature interaction coverage in software product line engineering. Software Quality Journal, 20(3-4):567--604, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. A. P. Mathur. Foundations of software testing. Pearson Education, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. R. Michel, A. Classen, A. Hubaux, and Q. Boucher. A formal semantics for feature cardinalities in feature diagrams. VaMoS '11, pages 82--89. ACM, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. J. D. Musa, G. Fuoco, N. Irving, D. Kropfl, and B. Juhlin. The operational profile. NATO ASI series F Comp. and Syst. Sc., 154:333--344, 1996.Google ScholarGoogle Scholar
  24. S. Oster, A. Wöbbeke, G. Engels, and A. Schürr. Model-based software product lines testing survey. In Model-Based Testing for Embedded Systems, pages 339--382. CRC Press, 2011.Google ScholarGoogle ScholarCross RefCross Ref
  25. G. Perrouin, S. Oster, S. Sen, J. Klein, B. Baudry, and Y. L. Traon. Pairwise testing for software product lines: comparison of two approaches. Software Quality Journal, 20(3-4):605--643, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. H. Samih and B. Baudry. Relating variability modelling and model-based testing for software product lines testing. In ICTSS '12 DS, 2012.Google ScholarGoogle Scholar
  27. S. Sampath, R. Bryce, G. Viswanath, V. Kandimalla, and A. Koru. Prioritizing user-session-based test cases for web applications testing. In ICST '08, pages 141--150, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  28. R. R. Sarukkai. Link prediction and path analysis using markov chains. Computer Networks, 33(1-6):377--386, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Scrapy. http://scrapy.org/.Google ScholarGoogle Scholar
  30. P. Thévenod-Fosse and H. Waeselynck. An investigation of statistical software testing. Softw. Test., Verif. Reliab., 1(2):5--25, 1991.Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. J. Tretmans. Model based testing with labelled transition systems. In Formal methods and testing, pages 1--38. Springer-Verlag, 2008. Google ScholarGoogle ScholarCross RefCross Ref
  32. M. Utting and B. Legeard. Practical model-based testing: a tools approach. Morgan Kaufmann, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. S. Verwer, R. Eyraud, and C. Higuera. Pautomac: a probabilistic automata and hidden markov models learning competition. Machine Learning, pages 1--26, 2013.Google ScholarGoogle Scholar
  34. A. von Rhein, S. Apel, C. Kästner, T. Thüm, and I. Schaefer. The PLA model: on the combination of product-line analyses. In VaMoS '13. ACM, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  35. J. A. Whittaker and M. G. Thomason. A markov chain model for statistical software testing. IEEE TSE, 20(10):812--824, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Towards statistical prioritization for software product lines testing

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          VaMoS '14: Proceedings of the 8th International Workshop on Variability Modelling of Software-Intensive Systems
          January 2014
          170 pages
          ISBN:9781450325561
          DOI:10.1145/2556624

          Copyright © 2014 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 22 January 2014

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          VaMoS '14 Paper Acceptance Rate21of55submissions,38%Overall Acceptance Rate66of147submissions,45%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader