Journal of Communications Software and Systems (Jun 2022)

Assigning Test Priority to Modules Using Code-Content and Bug History

  • Ermira Daka,
  • Egzon Mustafa

DOI
https://doi.org/10.24138/jcomss-2021-0185
Journal volume & issue
Vol. 18, no. 2
pp. 137 – 143

Abstract

Read online

Regression testing is a process that is repeated after every change in the program. Prioritization of test cases is an important process during regression test execution. Nowadays, there exist several techniques that decide which of the test cases will run first as per their priority levels, while increasing the probability of finding bugs earlier in the test life cycle. However, sometimes algorithms used to select important test cases may stop searching in local minima while missing the rest of the tests that might be important for a given change. To address this limitation further, we propose a domain-specific model that assigns testing priority to classes in applications based on developers' judgments for priority. Moreover, our technique which takes into consideration applications' code content and bug history, relates these features to overall class priority for testing. In the end, we test the proposed approach with a new (unknown) dataset of 20 instances. The predicted results are compared with developers' priority score and saw that this metric can prioritize correctly 70% of classes under test.

Keywords