Skip to main navigation Skip to search Skip to main content

Measuring redundancy score for test suite evaluation by using test cases matching approach

  • Mochamad Chandra Saputra*
  • , Tetsuro Katayama
  • , Yoshihiro Kita
  • , Hisaaki Yamaba
  • , Kentaro Aburada
  • , Naonobu Okazaki
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Evaluating a test suite that contains redundant test cases is necessary to reduce the cost of testing. The redundant test cases exist when both of the two test cases are executed the same lines of code. This research evaluates the test suite by identifying redundant test cases. Exact match approach is used to investigate the redundant test cases in the test suite. The redundancy score is defined by redundancy formula which is calculated by dividing the number of redundant test cases by numbers of test cases in a test suite. The experiment uses two Java programs. The redundancy scores of the two test suites from each program are 0.37 and 0.67, respectively. It means 37% and 67% redundant test cases are included in the test suites. The redundancy score provides useful information to improve the efficiency of software testing, especially in testing other programs by reusing the same test suite such as regression testing and automated testing.

Original languageEnglish
Pages (from-to)1-5
Number of pages5
JournalJournal of Robotics, Networking and Artificial Life
Volume8
Issue number1
DOIs
Publication statusPublished - Jun 2021
Externally publishedYes

Keywords

  • Redundancy score
  • Redundant test cases
  • Test case matching
  • Test suite evaluation

Cite this