講演抄録/キーワード |
講演名 |
2011-06-30 16:30
A Tool For Detecting Duplicated Test Code Based On Test Coverage to Assist TDD ○Kazunori Sakamoto(Waseda Univ.)・Takuto Wada(Towers Quest)・Hironori Washizaki・Yoshiaki Fukazawa(Waseda Univ.) SS2011-8 |
抄録 |
(和) |
The amount of test code has increased as the test technology has developed and the amount of duplicated test code that is redundant has also increased. Duplicated test code that does not change defects which are found when testing software even if it is removed. This increases the size of test code and decreases the efficiency of execution and maintenance of software testing.
We therefore propose techniques of detecting duplicated test code based on test coverage supporting multiple programming languages. We define the inclusion relation of test code based on test coverage and present techniques of detection and the implementation of a detection tool supporting three programming languages: Java, C and Python. We explain an experiment for detecting duplicated test code in open source software with the detection tool and discuss the benefits of the proposed techniques. Moreover, we show that the duplicated test code that is detected with the detection tool does not influence the results obtained from measuring the test coverage and demonstrate that the change in using test coverage can change the measurement criteria. |
(英) |
The amount of test code has increased as the test technology has developed and the amount of duplicated test code that is redundant has also increased. Duplicated test code that does not change defects which are found when testing software even if it is removed. This increases the size of test code and decreases the efficiency of execution and maintenance of software testing.
We therefore propose techniques of detecting duplicated test code based on test coverage supporting multiple programming languages. We define the inclusion relation of test code based on test coverage and present techniques of detection and the implementation of a detection tool supporting three programming languages: Java, C and Python. We explain an experiment for detecting duplicated test code in open source software with the detection tool and discuss the benefits of the proposed techniques. Moreover, we show that the duplicated test code that is detected with the detection tool does not influence the results obtained from measuring the test coverage and demonstrate that the change in using test coverage can change the measurement criteria. |
キーワード |
(和) |
test set minimization / tdd / code coverage / test coverage / / / / |
(英) |
test set minimization / tdd / code coverage / test coverage / / / / |
文献情報 |
信学技報, vol. 111, no. 107, SS2011-8, pp. 41-46, 2011年6月. |
資料番号 |
SS2011-8 |
発行日 |
2011-06-23 (SS) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
SS2011-8 |