Presentation 2018-03-01
Automatic Test Code Generation for Extract Method Refactoring
Ko Miyake, Tetsuo Kamina, Katsuhisa Maruyama,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) Tests are indispensable to check whether an applied refactoring preserves the observable behavior of refactored code. However, an ExtractMethod refactoring in general extracts a new method without test code that directly invokes the new method. Therefore, developers are likely to confront troublesome situations where they must create such test code. This paper proposes a tool that automatically generates new test code for the extracted method by executing existing test code for the source method in ExtractMethod. The tool could help developers apply safe refactorings to the extracted method in the future.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) Refactoring / unit testing / automatic test case generation
Paper # KBSE2017-48
Date of Issue 2018-02-22 (KBSE)

Conference Information
Committee KBSE
Conference Date 2018/3/1(2days)
Place (in Japanese) (See Japanese page)
Place (in English)
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair Shigeo Kaneda(Doshisha Univ.)
Vice Chair Fumihiro Kumeno(Nippon Inst. of Tech.)
Secretary Fumihiro Kumeno(Kanagawa Inst. of Tech.)
Assistant Takuya Saruwatari(NTT) / Kosaku Kimura(Fujitsu labs.)

Paper Information
Registration To Technical Committee on Knowledge-Based Software Engineering
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Automatic Test Code Generation for Extract Method Refactoring
Sub Title (in English)
Keyword(1) Refactoring
Keyword(2) unit testing
Keyword(3) automatic test case generation
1st Author's Name Ko Miyake
1st Author's Affiliation Ritsumeikan University(Ritsumeikan Univ)
2nd Author's Name Tetsuo Kamina
2nd Author's Affiliation Ritsumeikan University(Ritsumeikan Univ)
3rd Author's Name Katsuhisa Maruyama
3rd Author's Affiliation Ritsumeikan University(Ritsumeikan Univ)
Date 2018-03-01
Paper # KBSE2017-48
Volume (vol) vol.117
Number (no) KBSE-465
Page pp.pp.55-60(KBSE),
#Pages 6
Date of Issue 2018-02-22 (KBSE)