ExecutionFlow: a tool to compute test paths of Java methods and constructors

  • William Niemiec UFRGS
  • Keslley Silva UFRGS
  • Erika Cota UFRGS

Resumo


Calculating the code coverage of a test suite depends on the identification of the executed test paths. Available code coverage tools are limited to a few basic tracing strategies and do not provide this information as proper test paths, precluding its use in further analyses. We present ExecutionFlow, a solution to trace executed test paths in Java code. The tool is based on the use of a debugger, aspect-oriented programming, and a testing framework. Through empirical validation we show that it is possible to obtain the test path from several methods and constructors, including high complexity ones. Video demonstration: https://youtu.be/2W5BjVuc6fw

Publicado
29/09/2021
NIEMIEC, William; SILVA, Keslley; COTA, Erika. ExecutionFlow: a tool to compute test paths of Java methods and constructors. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 35. , 2021, Joinville. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 .