2 research outputs found
Erlang Code Evolution Control (Use Cases)
The main goal of this work is to show how SecEr can be used in different
scenarios. Concretely, we demonstrate how a user can run SecEr to obtain
reports about the behaviour preservation between versions as well as how a user
can use SecEr to find the source of a discrepancy. The use cases presented are
three: two completely different versions of the same program, an improvement in
the performance of a function and a program where an error has been introduced.
A complete description of the technique and the tool is available at [1] and
[2]
Enhancing POI testing approach through the use of additional information
Recently, a new approach to perform regression testing has been defined: the
point of interest (POI) testing. A POI, in this context, is any expression of a
program. The approach receives as input a set of relations between POIs from a
version of a program and POIs from another version, and also a sequence of
input functions, i.e. test cases. Then, a program instrumentation, an input
test case generation and different comparison functions are used to obtain the
final report which indicates whether the alternative version of the program
behaves as expected, e.g. it produces the same values or it uses less
CPU/memory. In this paper, we explain how we can improve the POI testing
approach through the use of common stack traces and a more sophisticated
tracing for calls. These enhancements of the approach allow users to identify
errors earlier and easier. Additionally, they enable new comparison modes and
new categories of reported unexpected behaviours.Comment: 29 pages, Accepted for presentation in WFLP 201