Evaluating an Automatic Text-based Test Case Selection using a Non-Instrumented Code Coverage Analysis

  • Claudio Magalhães Centro de Informática
  • João Andrade Centro de Informática
  • Lucas Perrusi Centro de Informática
  • Alexandre Mota Centro de Informática

Resumo


During development, systems may be tested several times. In general, a system evolves from change requests, aiming at improving its behavior in terms of new features as well as fixing failures. Thus, selecting the best test plan in terms of the closeness between test cases and the changed code and its dependencies is pursued by industry and academia. In this paper we measure the coverage achieved by an automatic test case selection based on information retrieval that relates change requests and test cases. But instead of using off-the-shelf coverage tools, like JaCoCo, we propose a way of obtaining code coverage of Android apk's without instrumentation. This was a basic requirement of our industrial partner. We performed some experiments on this industrial partner and promising results were obtained.
Palavras-chave: Test case selection and prioritization, Information Retrieval, Code coverage
Publicado
18/09/2017
MAGALHÃES, Claudio; ANDRADE, João; PERRUSI, Lucas; MOTA, Alexandre. Evaluating an Automatic Text-based Test Case Selection using a Non-Instrumented Code Coverage Analysis. In: SIMPÓSIO BRASILEIRO DE TESTES DE SOFTWARE SISTEMÁTICO E AUTOMATIZADO (SAST), 2. , 2017, Fortaleza/CE. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2017 . p. 40-48.