Skip to main content
Erschienen in: Automated Software Engineering 1/2024

01.05.2024

Using data mining techniques to generate test cases from graph transformation systems specifications

verfasst von: Maryam Asgari Araghi, Vahid Rafe, Ferhat Khendek

Erschienen in: Automated Software Engineering | Ausgabe 1/2024

Einloggen

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

search-config
loading …

Abstract

Software testing plays a crucial role in enhancing software quality. A significant portion of the time and cost in software development is dedicated to testing. Automation, particularly in generating test cases, can greatly reduce the cost. Model-based testing aims at generating automatically test cases from models. Several model based approaches use model checking tools to automate test case generation. However, this technique faces challenges such as state space explosion and duplication of test cases. This paper introduces a novel solution based on data mining algorithms for systems specified using graph transformation systems. To overcome the aforementioned challenges, the proposed method wisely explores only a portion of the state space based on test objectives. The proposed method is implemented using the GROOVE tool set for model-checking graph transformation systems specifications. Empirical results on widely used case studies in service-oriented architecture as well as a comparison with related state-of-the-art techniques demonstrate the efficiency and superiority of the proposed approach in terms of coverage and test suite size.

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
Zurück zum Zitat Acharya, A.A., Mahali, P., Mohapatra, D.P.: Model based test case prioritization using association rule mining. (2015) Acharya, A.A., Mahali, P., Mohapatra, D.P.: Model based test case prioritization using association rule mining. (2015)
Zurück zum Zitat Agrawal, R., Srikant, R.: Fast algorithms for mining association rules. Proc. 20th Int. Conf. Very Large Data Bases VLDB 1215 (2000) Agrawal, R., Srikant, R.: Fast algorithms for mining association rules. Proc. 20th Int. Conf. Very Large Data Bases VLDB 1215 (2000)
Zurück zum Zitat Ammann, P., Offutt, J.: Introduction to Software Testing, 1st edn. Cambridge University Press, USA (2008)CrossRef Ammann, P., Offutt, J.: Introduction to Software Testing, 1st edn. Cambridge University Press, USA (2008)CrossRef
Zurück zum Zitat Baier, C., Katoen, J.-P.: Principles of model checking, vol. 26202649, (2008) Baier, C., Katoen, J.-P.: Principles of model checking, vol. 26202649, (2008)
Zurück zum Zitat Beizer, B.: Software Testing Techniques, 2nd edn. Van Nostrand Reinhold Co., USA (1990) Beizer, B.: Software Testing Techniques, 2nd edn. Van Nostrand Reinhold Co., USA (1990)
Zurück zum Zitat Ehrig, H., Engels, G., Parisi-Presicce, F., Rozenberg, G.: Graph Transformations: Second International Conference, vol. 3256. Springer, Rome, Italy (2004)CrossRef Ehrig, H., Engels, G., Parisi-Presicce, F., Rozenberg, G.: Graph Transformations: Second International Conference, vol. 3256. Springer, Rome, Italy (2004)CrossRef
Zurück zum Zitat Engels, G., Güldali, B., Lohmann, M.: Towards model-driven unit testing. In: Kühne, T. (ed.) Models in Software Engineering, pp. 182–192. Springer, Berlin, Heidelberg (2007)CrossRef Engels, G., Güldali, B., Lohmann, M.: Towards model-driven unit testing. In: Kühne, T. (ed.) Models in Software Engineering, pp. 182–192. Springer, Berlin, Heidelberg (2007)CrossRef
Zurück zum Zitat Garey, M.R., Johnson, D.S.: Computers and Intractability; A Guide to the Theory of NP-Completeness. W. H. Freeman & Co., USA (1990) Garey, M.R., Johnson, D.S.: Computers and Intractability; A Guide to the Theory of NP-Completeness. W. H. Freeman & Co., USA (1990)
Zurück zum Zitat Gönczy, L., Heckel, R., Varró, D.: Model-based testing of service infrastructure components. In: Petrenko, A., Veanes, M., Tretmans, J., Grieskamp, W. (eds.) Testing of Software and Communicating Systems, pp. 155–170. Springer, Berlin, Heidelberg (2007)CrossRef Gönczy, L., Heckel, R., Varró, D.: Model-based testing of service infrastructure components. In: Petrenko, A., Veanes, M., Tretmans, J., Grieskamp, W. (eds.) Testing of Software and Communicating Systems, pp. 155–170. Springer, Berlin, Heidelberg (2007)CrossRef
Zurück zum Zitat Heckel, R., Mariani, L.: Component integration testing by graph transformations. In: International Conference on Computer Science, Software Engineering, Information Technology, e-Business, and Applications, Cairo (2004) Heckel, R., Mariani, L.: Component integration testing by graph transformations. In: International Conference on Computer Science, Software Engineering, Information Technology, e-Business, and Applications, Cairo (2004)
Zurück zum Zitat Herman, P.M.: A data flow analysis approach to program testing. Aust. Comput. J. 8, 92–96 (1976) Herman, P.M.: A data flow analysis approach to program testing. Aust. Comput. J. 8, 92–96 (1976)
Zurück zum Zitat Lara, J.d., Vangheluwe, H.: Atom3: A tool for multi-formalism and meta-modelling. In: Kutsche, R.-D., Weber, H. (eds.) Fundamental Approaches to Software Engineering, pp. 174–188. Springer, Berlin, Heidelberg (2002) Lara, J.d., Vangheluwe, H.: Atom3: A tool for multi-formalism and meta-modelling. In: Kutsche, R.-D., Weber, H. (eds.) Fundamental Approaches to Software Engineering, pp. 174–188. Springer, Berlin, Heidelberg (2002)
Zurück zum Zitat Muthyala, K., Naidu, R.: A novel approach to test suite reduction using data mining. Indian J. Comput. Sci. Eng. 2, 500–505 (2011) Muthyala, K., Naidu, R.: A novel approach to test suite reduction using data mining. Indian J. Comput. Sci. Eng. 2, 500–505 (2011)
Zurück zum Zitat Naik, K., Tripathy, P.: Software Testing and Quality Assurance: Theory and Practice. John Wiley & Sons, Hoboken, New Jersey (2011) Naik, K., Tripathy, P.: Software Testing and Quality Assurance: Theory and Practice. John Wiley & Sons, Hoboken, New Jersey (2011)
Zurück zum Zitat Noemmer, R., Haas, R.: An evaluation of test suite minimization techniques. In: Winkler, D., Biffl, S., Mendez, D., Bergsmann, J. (eds.) Software Quality: Quality Intelligence in Software and Systems Engineering, pp. 51–66. Springer, Cham (2020)CrossRef Noemmer, R., Haas, R.: An evaluation of test suite minimization techniques. In: Winkler, D., Biffl, S., Mendez, D., Bergsmann, J. (eds.) Software Quality: Quality Intelligence in Software and Systems Engineering, pp. 51–66. Springer, Cham (2020)CrossRef
Zurück zum Zitat Rensink, A., Boneva, I., Kastenberg, H., Staijen, T.: User Manual for the Groove Tool Set. Department of Computer Science, University of Twente, The Netherlands (2010) Rensink, A., Boneva, I., Kastenberg, H., Staijen, T.: User Manual for the Groove Tool Set. Department of Computer Science, University of Twente, The Netherlands (2010)
Zurück zum Zitat Rensink, A.: The groove simulator: a tool for state space generation. In: Pfaltz, J.L., Nagl, M., Böhlen, B. (eds.) Applications of Graph Transformations with Industrial Relevance, pp. 479–485. Springer, Berlin, Heidelberg (2004)CrossRef Rensink, A.: The groove simulator: a tool for state space generation. In: Pfaltz, J.L., Nagl, M., Böhlen, B. (eds.) Applications of Graph Transformations with Industrial Relevance, pp. 479–485. Springer, Berlin, Heidelberg (2004)CrossRef
Zurück zum Zitat Runge, O., Khan, T.A., Heckel, R.: Test case generation using visual contracts. Electronic Communications of the EASST 58 (2013) Runge, O., Khan, T.A., Heckel, R.: Test case generation using visual contracts. Electronic Communications of the EASST 58 (2013)
Zurück zum Zitat Thöne, S.: Dynamic software architectures: a style based modeling and refinement technique with graph transformations. (2005) Thöne, S.: Dynamic software architectures: a style based modeling and refinement technique with graph transformations. (2005)
Zurück zum Zitat Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA (2006) Utting, M., Legeard, B.: Practical Model-Based Testing: A Tools Approach. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA (2006)
Zurück zum Zitat Witten, I., Frank, I.H.: Data mining—practical machine learning tools and techniques with java implementations. Morgan Kaufmann vol. 31 (2002) Witten, I., Frank, I.H.: Data mining—practical machine learning tools and techniques with java implementations. Morgan Kaufmann vol. 31 (2002)
Zurück zum Zitat Wu, B., Zhang, D., Lan, Q., Zheng, J. (2008) An efficient frequent patterns mining algorithm based on apriori algorithm and the fp-tree structure. In: International Conference on Convergence Information Technology, vol. 1, pp. 1099–1102. https://doi.org/10.1109/ICCIT.2008.109 Wu, B., Zhang, D., Lan, Q., Zheng, J. (2008) An efficient frequent patterns mining algorithm based on apriori algorithm and the fp-tree structure. In: International Conference on Convergence Information Technology, vol. 1, pp. 1099–1102. https://​doi.​org/​10.​1109/​ICCIT.​2008.​109
Metadaten
Titel
Using data mining techniques to generate test cases from graph transformation systems specifications
verfasst von
Maryam Asgari Araghi
Vahid Rafe
Ferhat Khendek
Publikationsdatum
01.05.2024
Verlag
Springer US
Erschienen in
Automated Software Engineering / Ausgabe 1/2024
Print ISSN: 0928-8910
Elektronische ISSN: 1573-7535
DOI
https://doi.org/10.1007/s10515-024-00417-0

Weitere Artikel der Ausgabe 1/2024

Automated Software Engineering 1/2024 Zur Ausgabe

Premium Partner