Test2Feature: feature-based test traceability tool for highly configurable software

  • Willian D. F. Mendonça
  • , Silvia Regina Vergilio
  • , Gabriela Michelon
  • , Alexander Egyed
  • , Wesley Klewerton Guez Assuncao

Research output: Chapter in Book/Report/Conference proceedingConference proceedingspeer-review

Abstract

To ensure the quality of Highly Configurable Software (HCS) in an evolution and maintenance scenario is a challenging task. As HCSs evolve, new features are added, changed, or removed, which hampers the selection and evolution of test cases. The use of test traceability reports can help in this task, but there is a lack of studies addressing HCS test-to-feature traceability. Existing work usually are based on the variability model, which is not always available or updated. Some tools only link test cases to code lines. Considering this gap, this paper introduces Test2Feature, a tool that traces test cases to features using the source code of annotated HCSs, written in C/C++. The tool produces the following outputs: the code lines that correspond to each feature, the lines that correspond to each test case, and the test cases that are linked to each feature. Test2Feature is based only on the static analysis of the code. The traceability report produced can be used to ease different tasks related, for instance, to regression testing, feature management, and HCS evolution and maintenance.
Original languageEnglish
Title of host publicationSPLC '22: 26th ACM International Systems and Software Product Line Conference, Graz, Austria, September 12 - 16, 2022, Volume B
EditorsAlexander Felfernig, Lidia Fuentes, Jane Cleland-Huang, Wesley K.G. Assuncao, Wesley K.G. Assuncao, Clement Quinton, Jianmei Guo, Klaus Schmid, Marianne Huchard, Inmaculada Ayala, Jose Miguel Rojas, Viet-Man Le, Jose Miguel Horcas
PublisherACM
Pages62 - 65
Number of pages4
ISBN (Electronic)9781450392068
ISBN (Print)9781450392068
DOIs
Publication statusPublished - 12 Sept 2022

Publication series

Name26th ACM International Systems and Software Product Line Conference, SPLC 2022 - Proceedings
VolumeB

Fields of science

  • 102 Computer Sciences
  • 102022 Software development

JKU Focus areas

  • Digital Transformation

Cite this