Modest-Pharo: Unit Test Generation for Pharo Based on Traces and Metamodels - Pharo
Conference Papers Year : 2024

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

Abstract

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.85 Ko) Télécharger le fichier
Origin Files produced by the author(s)
licence

Dates and versions

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

Licence

Identifiers

  • HAL Id : hal-04622256 , version 1

Cite

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-04622256v1⟩

Collections

PHARO
351 View
75 Download

Share

More