Journal of Advances in Artificial Life Robotics
Online ISSN : 2435-8061
ISSN-L : 2435-8061
Identification of Redundant Test Cases by Using Similarity Measurement Method for Test Suite Evaluation
Mochamad Chandra SaputraTetsuro KatayamaYoshihiro KitaHisaaki YamabaKentaro AburadaNaonobu Okazaki
Author information
JOURNAL OPEN ACCESS

2021 Volume 1 Issue 4 Pages 187-192

Details
Abstract

Evaluating the test suite that contains redundant test cases is necessary to ensure the efficiency of the testing and reducing the cost of testing. The principle of redundant test cases on this research is any test cases on a similar path executed with a similar high value of normalized Euclidean distance. The first, the similarity calculated between the test cases and path coverage uses Euclidean distance. The value of the Euclidean distance on the test case with the lowest value of distance indicating highly similar and possibly executing similar lines of code. The normalized Euclidean distance is using to normalize the value from Euclidean distance result. The experiment uses two java programs. Each redundancy score is 0.37 and 0.67, respectively. It means 37% and 67% of the test cases should be avoided because there are inefficiency test cases on the test suite. The research confirms redundant test cases can be identified by Euclidean distance and normalized Euclidean distance to evaluate the test suite.

Content from these authors
© 2021 ALife Robotics Corporation Ltd.

この記事はクリエイティブ・コモンズ [表示 - 非営利 4.0 国際]ライセンスの下に提供されています。
https://creativecommons.org/licenses/by-nc/4.0/deed.ja
Previous article Next article
feedback
Top