In model-driven engineering, models are used to specify, validate, and verify the system design and generate code and tests. In all these activities, assuring the correctness of the model is paramount, as to derive correct code and tests, a correct model is required. In this paper, we introduce CreaTest, a framework designed to generate abstract tests for itemis CREATE Statecharts by leveraging existing code-based test generators. Our approach consists of translating Statecharts into executable Java code, and then applying a white-box test generation tool, like Evosuite, to produce JUnit test cases. Test cases are subsequently abstracted back into a format supported by the original modeling tool for model validation. We evaluate CreaTest on a large set of Statecharts retrieved from GitHub. Our results show that CreaTest generates high-coverage abstract tests for Statecharts and that optimizing the generated code significantly enhances the effectiveness of test generation.

(2025). Introducing CreaTest: A Framework for Test Case Generation in itemis CREATE . Retrieved from https://hdl.handle.net/10446/308186

Introducing CreaTest: A Framework for Test Case Generation in itemis CREATE

Bombarda, Andrea;Bonfanti, Silvia;Gargantini, Angelo;Pellegrinelli, Nico
2025-09-16

Abstract

In model-driven engineering, models are used to specify, validate, and verify the system design and generate code and tests. In all these activities, assuring the correctness of the model is paramount, as to derive correct code and tests, a correct model is required. In this paper, we introduce CreaTest, a framework designed to generate abstract tests for itemis CREATE Statecharts by leveraging existing code-based test generators. Our approach consists of translating Statecharts into executable Java code, and then applying a white-box test generation tool, like Evosuite, to produce JUnit test cases. Test cases are subsequently abstracted back into a format supported by the original modeling tool for model validation. We evaluate CreaTest on a large set of Statecharts retrieved from GitHub. Our results show that CreaTest generates high-coverage abstract tests for Statecharts and that optimizing the generated code significantly enhances the effectiveness of test generation.
16-set-2025
16-set-2025
Inglese
Testing Software and Systems. 37th IFIP WG 6.1 International Conference, ICTSS 2025, Limassol, Cyprus, September 17–19, 2025, Proceedings
Bonfanti, Silvia; Papadopoulos, George Angelos
9783032051875
978-3-032-05188-2
16107
89
106
cartaceo
online
Switzerland
Cham
Springer
ICTSS 2025: 37th IFIP International Conference on Testing Software and Systems, Limassol, Cyprus, 17-19 September 2025
37th
Limassol, Cyprus
17-19 September 2025
Settore IINF-05/A - Sistemi di elaborazione delle informazioni
Abstract Tests; Statecharts; EvoSuite; itemis CREATE
info:eu-repo/semantics/conferenceObject
4
Bombarda, Andrea; Bonfanti, Silvia; Gargantini, Angelo Michele; Pellegrinelli, Nico
1.4 Contributi in atti di convegno - Contributions in conference proceedings::1.4.01 Contributi in atti di convegno - Conference presentations
reserved
Non definito
273
(2025). Introducing CreaTest: A Framework for Test Case Generation in itemis CREATE . Retrieved from https://hdl.handle.net/10446/308186
File allegato/i alla scheda:
File Dimensione del file Formato  
1 (2)_merged.pdf

Solo gestori di archivio

Versione: postprint - versione referata/accettata senza referaggio
Licenza: Licenza default Aisberg
Dimensione del file 698.41 kB
Formato Adobe PDF
698.41 kB Adobe PDF   Visualizza/Apri
Pubblicazioni consigliate

Aisberg ©2008 Servizi bibliotecari, Università degli studi di Bergamo | Terms of use/Condizioni di utilizzo

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10446/308186
Citazioni
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact