Modest-Pharo: Unit Test Generation for Pharo Based on Traces and Metamodels - Archive ouverte HAL
Communication Dans Un Congrès Année : 2024

Modest-Pharo: Unit Test Generation for Pharo Based on Traces and Metamodels

Résumé

Unit testing is essential in software development to ensure code functionality and prevent the introduction of bugs. However, challenges such as time constraints and insufficient resource allocation often impede comprehensive testing efforts, leaving software systems vulnerable to regression. To address this issue, we introduce Modest, a language-agnostic approach to unit test generation that uses metamodels and execution traces. This method ensures non-regression by replaying scenarios captured from real-world executions. We demonstrate the application of Modest to Pharo codebases by generating unit tests for two projects.
Fichier principal
Vignette du fichier
Darb24a.pdf (754.69 Ko) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte
Licence

Dates et versions

hal-04622256 , version 1 (24-06-2024)
hal-04622256 , version 2 (27-08-2024)

Licence

Identifiants

  • HAL Id : hal-04622256 , version 2

Citer

Gabriel Darbord, Fabio Vandewaeter, Anne Etien, Nicolas Anquetil, Benoit Verhaeghe. Modest-Pharo: Unit Test Generation for Pharo Based on Traces and Metamodels. IWST 2024: International Workshop on Smalltalk Technologies, Jul 2024, Lille, France. ⟨hal-04622256v2⟩
318 Consultations
58 Téléchargements

Partager

More