Skip to main content
Erschienen in: Software and Systems Modeling 2/2017

28.04.2015 | Special Section Paper

Automated product line test case selection: industrial case study and controlled experiment

verfasst von: Shuai Wang, Shaukat Ali, Arnaud Gotlieb, Marius Liaaen

Erschienen in: Software and Systems Modeling | Ausgabe 2/2017

Einloggen

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

search-config
loading …

Abstract

Automated test case selection for a new product in a product line is challenging due to several reasons. First, the variability within the product line needs to be captured in a systematic way; second, the reusable test cases from the repository are required to be identified for testing a new product. The objective of such automated process is to reduce the overall effort for selection (e.g., selection time), while achieving an acceptable level of the coverage of testing functionalities. In this paper, we propose a systematic and automated methodology using a feature model for testing (FM_T) to capture commonalities and variabilities of a product line and a component family model for testing (CFM_T) to capture the overall structure of test cases in the repository. With our methodology, a test engineer does not need to manually go through the repository to select a relevant set of test cases for a new product. Instead, a test engineer only needs to select a set of relevant features using FM_T at a higher level of abstraction for a product and a set of relevant test cases will be selected automatically. We evaluated our methodology via three different ways: (1) We applied our methodology to a product line of video conferencing systems called Saturn developed by Cisco, and the results show that our methodology can reduce the selection effort significantly; (2) we conducted a questionnaire-based study to solicit the views of test engineers who were involved in developing FM_T and CFM_T. The results show that test engineers are positive about adapting our methodology and models (FM_T and CFM_T) in their current practice; (3) we conducted a controlled experiment with 20 graduate students to assess the performance (i.e., cost, effectiveness and efficiency) of our automated methodology as compared to the manual approach. The results showed that our methodology is cost-effective as compared to the manual approach, and at the same time, its efficiency is not affected by the increased complexity of products.

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 "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!

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!

Literatur
1.
Zurück zum Zitat Benavides, D., Segura, S., Cortés, A.R.: Automated analysis of feature models 20 years later. A literature review. Inf. Syst. 35, 615–636 (2010)CrossRef Benavides, D., Segura, S., Cortés, A.R.: Automated analysis of feature models 20 years later. A literature review. Inf. Syst. 35, 615–636 (2010)CrossRef
2.
Zurück zum Zitat Czarnecki, K., Kim, C., Kalleberg, K.: Feature models are views on ontologies. In: Proceedings of the International Software Product Line Conference, pp. 41–51. (2006) Czarnecki, K., Kim, C., Kalleberg, K.: Feature models are views on ontologies. In: Proceedings of the International Software Product Line Conference, pp. 41–51. (2006)
3.
Zurück zum Zitat Ali, S., Yue, T., Briand, L.C., Walawege, S.: A product line modeling and configuration methodology to support model-based testing: an industrial case study. In: Proceedings of the ACM International Conference on Model Driven Engineering Languages and Systems (MODELS), pp. 726–742. (2012) Ali, S., Yue, T., Briand, L.C., Walawege, S.: A product line modeling and configuration methodology to support model-based testing: an industrial case study. In: Proceedings of the ACM International Conference on Model Driven Engineering Languages and Systems (MODELS), pp. 726–742. (2012)
4.
Zurück zum Zitat Wang, S., Ali, S., Yue, T.: Product Line Modeling and configuration methodology using feature model for supporting model-based testing. Simula Research Laboratory. Technical Report, pp. 2012–2024. (2013) Wang, S., Ali, S., Yue, T.: Product Line Modeling and configuration methodology using feature model for supporting model-based testing. Simula Research Laboratory. Technical Report, pp. 2012–2024. (2013)
5.
Zurück zum Zitat McGregor, J.: Testing a Software Product Line. Technical Report. CMU/SEI-2001-TR-022. Software Engineering Institute, Carnegie Mellon University, Pittsburgh, Pennsylvania. (2001) McGregor, J.: Testing a Software Product Line. Technical Report. CMU/SEI-2001-TR-022. Software Engineering Institute, Carnegie Mellon University, Pittsburgh, Pennsylvania. (2001)
6.
Zurück zum Zitat Engström, E.: Regression test selection and product line system testing. In: Proceedings of Third International Conference on Software Testing, Verification and Validation (ICST), pp. 512–515. (2010) Engström, E.: Regression test selection and product line system testing. In: Proceedings of Third International Conference on Software Testing, Verification and Validation (ICST), pp. 512–515. (2010)
7.
Zurück zum Zitat Engström, E., Runeson, P., Skoglund, M.: A systematic review on regression test selection techniques. Inf. Softw. Technol. 52(1), 14–30 (2010)CrossRef Engström, E., Runeson, P., Skoglund, M.: A systematic review on regression test selection techniques. Inf. Softw. Technol. 52(1), 14–30 (2010)CrossRef
8.
Zurück zum Zitat Yoo, S., Harman, M.: Regression testing minimization, selection and prioritization: a survey. Softw. Test. Verif. Reliab. 22(2), 67–120 (2012)CrossRef Yoo, S., Harman, M.: Regression testing minimization, selection and prioritization: a survey. Softw. Test. Verif. Reliab. 22(2), 67–120 (2012)CrossRef
11.
Zurück zum Zitat Wang, S., Gotlieb, A., Ali, S., Liaaen, M.: Automated test case selection using feature model: an industrial case study. In: Proceedings of the ACM Model-Driven Engineering Languages and Systems (MODELS), pp. 237–253. (2013) Wang, S., Gotlieb, A., Ali, S., Liaaen, M.: Automated test case selection using feature model: an industrial case study. In: Proceedings of the ACM Model-Driven Engineering Languages and Systems (MODELS), pp. 237–253. (2013)
12.
Zurück zum Zitat Wang, S., Gotlieb, A., Liaaen, M., Briand, L.C.: Automated test case selection using feature model: an industrial case study. In: Proceedings of the ACM MODELS Workshop VARiability for You (VARY’ 12), pp. 32–37. (2012) Wang, S., Gotlieb, A., Liaaen, M., Briand, L.C.: Automated test case selection using feature model: an industrial case study. In: Proceedings of the ACM MODELS Workshop VARiability for You (VARY’ 12), pp. 32–37. (2012)
13.
Zurück zum Zitat Wang, S., Ali, S., Gotlieb, A., Liaaen, M.: A systematic test case selection methodology for product lines: results and insights from an industrial case study. Accepted in Empirical Software Engineering Journal. (2014) Wang, S., Ali, S., Gotlieb, A., Liaaen, M.: A systematic test case selection methodology for product lines: results and insights from an industrial case study. Accepted in Empirical Software Engineering Journal. (2014)
14.
Zurück zum Zitat Beuche, D., Papajewski, H., Schröder-Preikschat, W.: Variability management with feature models. Sci. Comput. Program. 53(3), 333–352 (2004)MathSciNetCrossRefMATH Beuche, D., Papajewski, H., Schröder-Preikschat, W.: Variability management with feature models. Sci. Comput. Program. 53(3), 333–352 (2004)MathSciNetCrossRefMATH
17.
Zurück zum Zitat Wang, S., Ali, S., Gotlieb, A.: Minimizing test suites in software product lines using weighted-based genetic algorithms. In: Proceedings of the 15th Annual Conference on Genetic and Evolutionary Computation Conference (GECCO), pp. 1493–1500. (2013) Wang, S., Ali, S., Gotlieb, A.: Minimizing test suites in software product lines using weighted-based genetic algorithms. In: Proceedings of the 15th Annual Conference on Genetic and Evolutionary Computation Conference (GECCO), pp. 1493–1500. (2013)
19.
Zurück zum Zitat Wohlin, C., Runeson, P., Host, M., Ohlsson, M.C., Regnell, B., Wesslen, A.: Experimentation in software engineering. Springer, New York (2012)CrossRefMATH Wohlin, C., Runeson, P., Host, M., Ohlsson, M.C., Regnell, B., Wesslen, A.: Experimentation in software engineering. Springer, New York (2012)CrossRefMATH
20.
Zurück zum Zitat Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B., Wesslén, A.: Experimentation in software engineering: an introduction. Springer, New York (1999)MATH Wohlin, C., Runeson, P., Höst, M., Ohlsson, M.C., Regnell, B., Wesslén, A.: Experimentation in software engineering: an introduction. Springer, New York (1999)MATH
21.
Zurück zum Zitat Sheskin, D.J.: Handbook of parametric and nonparametric statistical procedures. Chapman and Hall/CRC, London (2007)MATH Sheskin, D.J.: Handbook of parametric and nonparametric statistical procedures. Chapman and Hall/CRC, London (2007)MATH
22.
Zurück zum Zitat Thomas, L.: Retrospective power analysis. Conserv. Biol. 11, 276–280 (1997)CrossRef Thomas, L.: Retrospective power analysis. Conserv. Biol. 11, 276–280 (1997)CrossRef
23.
Zurück zum Zitat Dybå, T., Kampenes, V.B., Hannay, J.E., Sjøberg, D.I.K.: Systematic review: a systematic review of effect size in software engineering experiments. Inf. Softw. Technol. 49, 1073–1086 (2007)CrossRef Dybå, T., Kampenes, V.B., Hannay, J.E., Sjøberg, D.I.K.: Systematic review: a systematic review of effect size in software engineering experiments. Inf. Softw. Technol. 49, 1073–1086 (2007)CrossRef
24.
Zurück zum Zitat Höst, M., Regnell, B., Wohlin, C.: Using students as subjects—a comparative study of students and professionals in lead-time impact assessment. Empir. Softw. Eng. 5, 201–214 (2000)CrossRefMATH Höst, M., Regnell, B., Wohlin, C.: Using students as subjects—a comparative study of students and professionals in lead-time impact assessment. Empir. Softw. Eng. 5, 201–214 (2000)CrossRefMATH
25.
Zurück zum Zitat Arisholm, E., Sjoberg, D.I.K.: Evaluating the effect of a delegated versus centralized control style on the maintainability of object-oriented software. IEEE Trans. Softw. Eng. 30, 521–534 (2004)CrossRef Arisholm, E., Sjoberg, D.I.K.: Evaluating the effect of a delegated versus centralized control style on the maintainability of object-oriented software. IEEE Trans. Softw. Eng. 30, 521–534 (2004)CrossRef
26.
Zurück zum Zitat Holt, R.W., Boehm-Davis, D.A., Shultz, A.C.: Mental representations of programs for student and professional programmers. Empirical Studies of Programmers: Second Workshop, pp. 33–46. (1987) Holt, R.W., Boehm-Davis, D.A., Shultz, A.C.: Mental representations of programs for student and professional programmers. Empirical Studies of Programmers: Second Workshop, pp. 33–46. (1987)
27.
Zurück zum Zitat Muccini, H., Van Der Hoek, A.: Towards testing product line architectures. Electron. Notes Theor. Comput. Sci. 82(6), 99–109 (2003)CrossRef Muccini, H., Van Der Hoek, A.: Towards testing product line architectures. Electron. Notes Theor. Comput. Sci. 82(6), 99–109 (2003)CrossRef
28.
Zurück zum Zitat Uzuncaova, E., Garcia, D., Khurshid, S., Batory, D.: Testing software product lines using incremental test generations. In: Proceedings of the IEEE International Symposium on Software Reliability Engineering (ISSRE), pp. 249–258. (2008) Uzuncaova, E., Garcia, D., Khurshid, S., Batory, D.: Testing software product lines using incremental test generations. In: Proceedings of the IEEE International Symposium on Software Reliability Engineering (ISSRE), pp. 249–258. (2008)
29.
Zurück zum Zitat Nebut, C., Le Traon, Y., Jézéquel, J.M.: System testing of product lines: from requirements to test cases. Software Product Lines, Research Issues in Engineering and Management. Springer, New York (2006) Nebut, C., Le Traon, Y., Jézéquel, J.M.: System testing of product lines: from requirements to test cases. Software Product Lines, Research Issues in Engineering and Management. Springer, New York (2006)
30.
Zurück zum Zitat Olimpiew, E.M., Gomaa, H.: Reusable model-based testing. International Conference on Software Reuse (ICSR), pp. 76–85. (2009) Olimpiew, E.M., Gomaa, H.: Reusable model-based testing. International Conference on Software Reuse (ICSR), pp. 76–85. (2009)
31.
Zurück zum Zitat Olimpiew, E.M., Gomaa, H.: Model-based test design for software product lines. Software Product Line Conference (SPLC), pp. 173–178 (2008) Olimpiew, E.M., Gomaa, H.: Model-based test design for software product lines. Software Product Line Conference (SPLC), pp. 173–178 (2008)
32.
Zurück zum Zitat Olimpiew, E.M., Gomaa, H.: Model-based testing for applications derived from software product lines. ACM SIGSOFT Softw. Eng. Notes 30(4), 1–7 (2005)CrossRef Olimpiew, E.M., Gomaa, H.: Model-based testing for applications derived from software product lines. ACM SIGSOFT Softw. Eng. Notes 30(4), 1–7 (2005)CrossRef
33.
Zurück zum Zitat Olimpiew, E.M., Gomaa, H.: Model-based testing for applications derived from software product lines. In: Proceedings of the 1st International Workshop on Advances in Model-Based Testing (A-MOST ’05), pp. 1–7. (2005) Olimpiew, E.M., Gomaa, H.: Model-based testing for applications derived from software product lines. In: Proceedings of the 1st International Workshop on Advances in Model-Based Testing (A-MOST ’05), pp. 1–7. (2005)
34.
Zurück zum Zitat Wang, S., Ali, S., Tao, Y., Liaaen, M.: Using feature model to support model-based testing of product lines: an industrial case study. In: Proceedings of 13th International Conference on Quality Software (QSIC), pp 75–84. (2013) Wang, S., Ali, S., Tao, Y., Liaaen, M.: Using feature model to support model-based testing of product lines: an industrial case study. In: Proceedings of 13th International Conference on Quality Software (QSIC), pp 75–84. (2013)
36.
Zurück zum Zitat Hutchins, M., Foster, H., Goradia, T., Ostrand, T.: Experiments on the effectiveness of dataflow- and controlflow-based test adequacy criteria. In: Proceedings of the 16th International Conference on Software Engineering. Sorrento, Italy: IEEE Computer Society Press, pp. 191–200 May (1994) Hutchins, M., Foster, H., Goradia, T., Ostrand, T.: Experiments on the effectiveness of dataflow- and controlflow-based test adequacy criteria. In: Proceedings of the 16th International Conference on Software Engineering. Sorrento, Italy: IEEE Computer Society Press, pp. 191–200 May (1994)
37.
Zurück zum Zitat Rothermel, G., Elbaum, S., Malishevsky, A., Kallakuri, P., Davia, B.: The impact of test suite granularity on the cost-effectiveness of regression testing. In: Proceedings of International Conference on Software Engineering, pp. 130–140. (2002) Rothermel, G., Elbaum, S., Malishevsky, A., Kallakuri, P., Davia, B.: The impact of test suite granularity on the cost-effectiveness of regression testing. In: Proceedings of International Conference on Software Engineering, pp. 130–140. (2002)
38.
Zurück zum Zitat Wong, W.E., Horgan, J.R., Mathur, A.P., Pasquini, A.: Test set size minimization and fault detection effectiveness: a case study in a space application. In: Proceeding of the Computer Software Applications Conference, pp. 522–528. (1997) Wong, W.E., Horgan, J.R., Mathur, A.P., Pasquini, A.: Test set size minimization and fault detection effectiveness: a case study in a space application. In: Proceeding of the Computer Software Applications Conference, pp. 522–528. (1997)
39.
Zurück zum Zitat Chen, Y.F., Rosenblum, D.S., Vo, K.P.: Test tube: a system for selective regression testing. In: Proceedings of IEEE International Conference on Software Engineering (ICSE), pp. 211–220. Los Alamitos, CA, USA (1994) Chen, Y.F., Rosenblum, D.S., Vo, K.P.: Test tube: a system for selective regression testing. In: Proceedings of IEEE International Conference on Software Engineering (ICSE), pp. 211–220. Los Alamitos, CA, USA (1994)
40.
Zurück zum Zitat Hartmann, J., Robson, D.J.: Techniques for selective revalidation. IEEE Softw. 7(1), 31–36 (1990)CrossRef Hartmann, J., Robson, D.J.: Techniques for selective revalidation. IEEE Softw. 7(1), 31–36 (1990)CrossRef
41.
Zurück zum Zitat Harrold, M.J., Souffa, M.L.: An incremental approach to unit testing during maintenance. In: Proceedings of IEEE International Conference on Software Maintenance (ICSM), pp. 362–367. (1988) Harrold, M.J., Souffa, M.L.: An incremental approach to unit testing during maintenance. In: Proceedings of IEEE International Conference on Software Maintenance (ICSM), pp. 362–367. (1988)
42.
Zurück zum Zitat Orso, A., Harrold, M.J., Rosenblum, D., Rothermel, G., Soffa, M.L., Do, H.: Using component metacontent to support the regression testing of component-based software. In: Proceedings of IEEE International Conference on Software Maintenance (ICSM), pp. 716–725. (2001) Orso, A., Harrold, M.J., Rosenblum, D., Rothermel, G., Soffa, M.L., Do, H.: Using component metacontent to support the regression testing of component-based software. In: Proceedings of IEEE International Conference on Software Maintenance (ICSM), pp. 716–725. (2001)
43.
Zurück zum Zitat Chen, Y., Probert, R.L., Sims, D.P.: Specification-based regression test selection with risk analysis. In: Proceedings of Conference of the Centre for Advanced Studies on Collaborative research. IBM Press, Indianapolis (2002) Chen, Y., Probert, R.L., Sims, D.P.: Specification-based regression test selection with risk analysis. In: Proceedings of Conference of the Centre for Advanced Studies on Collaborative research. IBM Press, Indianapolis (2002)
44.
Zurück zum Zitat Bible, J., Rothermel, G., Rosenblum, D.S.: A comparative study of coarse- and fine-grained safe regression test-selection techniques. ACM Trans. Softw. Eng. Methodol. 10(2), 149–183 (2001)CrossRefMATH Bible, J., Rothermel, G., Rosenblum, D.S.: A comparative study of coarse- and fine-grained safe regression test-selection techniques. ACM Trans. Softw. Eng. Methodol. 10(2), 149–183 (2001)CrossRefMATH
45.
Zurück zum Zitat Graves, T.L., Harrold, M.J., Kim, J.M., Porter, A., Rothermel, G.: An empirical study of regression test selection techniques. ACM Trans. Softw. Eng. Methodol. 10(2), 184–208 (2001)CrossRefMATH Graves, T.L., Harrold, M.J., Kim, J.M., Porter, A., Rothermel, G.: An empirical study of regression test selection techniques. ACM Trans. Softw. Eng. Methodol. 10(2), 184–208 (2001)CrossRefMATH
46.
Zurück zum Zitat Mansour, N., Bahsoon, R., Baradhi, G.: Empirical comparison of regression test selection algorithms. J. Syst. Softw. 57(1), 79–90 (2001)CrossRef Mansour, N., Bahsoon, R., Baradhi, G.: Empirical comparison of regression test selection algorithms. J. Syst. Softw. 57(1), 79–90 (2001)CrossRef
Metadaten
Titel
Automated product line test case selection: industrial case study and controlled experiment
verfasst von
Shuai Wang
Shaukat Ali
Arnaud Gotlieb
Marius Liaaen
Publikationsdatum
28.04.2015
Verlag
Springer Berlin Heidelberg
Erschienen in
Software and Systems Modeling / Ausgabe 2/2017
Print ISSN: 1619-1366
Elektronische ISSN: 1619-1374
DOI
https://doi.org/10.1007/s10270-015-0462-4

Weitere Artikel der Ausgabe 2/2017

Software and Systems Modeling 2/2017 Zur Ausgabe