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

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

Abstract


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

Published
2021-09-29
NIEMIEC, William; SILVA, Keslley; COTA, Erika. ExecutionFlow: a tool to compute test paths of Java methods and constructors. In: BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING (SBES), 35. , 2021, Joinville. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 . ISSN 2833-0633.