Measuring Test Suite Reusability Based on the Usage Frequency and Coverage of Reused Test Cases

Authors
Mochamad Chandra Saputra1, *, Tetsuro Katayama1, Yoshihiro Kita2, Hisaaki Yamaba1, Kentaro Aburada1, Naonobu Okazaki1
1Interdisciplinary Graduate School of Agriculture and Engineering, University of Miyazaki, 1-1 Gakuen-Kibanadai Nishi, Miyazaki 889-2192 Japan
2Department of Information Security, Faculty of Information Systems, Siebold Campus, University of Nagasaki, 1-1-1 Manabino, Nagayo-Cho, Nishi-Sonogi-gun, Nagasaki 851-2195, Japan
*Corresponding author. Email: [email protected]
Corresponding Author
Mochamad Chandra Saputra
Received 25 November 2020, Accepted 6 April 2021, Available Online 28 May 2021.
DOI
https://doi.org/10.2991/jrnal.k.210521.006How to use a DOI?
Keywords
Test suite reusability; reused frequency; code coverage; reused test cases
Abstract
Test suite reusability measurement is important to obtain the value of reusability as the degree of effectiveness of reused test suite. The measurement in this experiment considers not only the frequency of the successful test suite to examine different objects but also the code coverage as the criteria of a good test suite. The combination of the frequency and code coverage in the measurement reports the current condition of test suite reusability. The research confirms the test suite reusability measurement provides useful information to know the degree of effectiveness of reused test suite, especially in regression testing and automated testing.
Copyright
© 2021 The Authors. Published by ALife Robotics Corp. Ltd.
Open Access
This is an open access article distributed under the CC BY-NC 4.0 license (http://creativecommons.org/licenses/by-nc/4.0/).