Erlang Code Evolution Control

David Insa, Sergio Pérez, Josep Silva, Salvador Tamarit
9/15/2017
cs.PLcs.SE

Official code: serperu/secer (12 stars, Erlang, last commit 2022-07-26).

Abstract

During the software lifecycle, a program can evolve several times for different reasons such as the optimisation of a bottle-neck, the refactoring of an obscure function, etc. These code changes often involve several functions or modules, so it can be difficult to know whether the correct behaviour of the previous releases has been preserved in the new release.

Show full abstract

Most developers rely on a previously defined test suite to check this behaviour preservation. We propose here an alternative approach to automatically obtain a test suite that specifically focusses on comparing the old and new versions of the code. Our test case generation is directed by a sophisticated combination of several already existing tools such as TypEr, CutEr, and PropEr; and other ideas such as allowing the programmer to chose an expression of interest that must preserve the behaviour, or the recording of the sequences of values to which this expression is evaluated. All the presented work has been implemented in an open-source tool that is publicly available on GitHub.

View on arXivView PDF

Code Implementations(1)

serperu/secerOfficial100%

SecEr: Erlang Code Evolution Control Tool

122Erlang, DockerfileJun 5, 20174 years ago
cuterproperregression-testingsoftware-evolutiontest-generation+1 more

Similar Papers

Cite this paper

@article{insa2017erlang,
  title  = {Erlang Code Evolution Control},
  author = {David Insa and Sergio Pérez and Josep Silva and Salvador Tamarit},
  year   = {2017},
  eprint = {1709.05291},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1709.05291}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1709.05291.svg)](https://codeofpaper.com/paper/1709.05291)

Discussion