Towards Random Elixir Code Generation
Developers expect compilers to be correct. Unfortunately, these tools are not entirely bug-free. A failure introduced by the compiler could compromise a critical system and consequently have catastrophic consequences, specially in applications of great complexity, affecting both end users and developers. Such failures can lead to significant financial losses, security vulnerabilities, and a loss of trust in the software’s reliability. Therefore, testing and validating all the compiler functionalities to assure its correctness is essential given their importance in software development. In light of the given context, this paper describes a random code generation tool using Haskell that generates well-typed Elixir code by adhering to a specified syntax and typing rules, which serves as input for property-based tests, striving to contribute to the overall quality and dependability of software systems built using Elixir.
Authors
- Samuel da Silva Feitosa (ORCID: https://orcid.org/0000-0002-9485-4845)
- Andrei Braga (ORCID: https://orcid.org/0000-0001-6872-496X)
- André Rauber Du Bois (ORCID: https://orcid.org/0000-0002-6790-5184)
- Bernardo Beltrame Facchi
Publication Details
- Published
- 2024-09-30
- DOI
- https://doi.org/10.5753/sblp.2024.3455
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00