Test code differencing for test-driven refactoring automation

  • Authors:
  • Hewijin Christine Jiau;Jinghong Cox Chen

  • Affiliations:
  • National Cheng Kung University, Tainan, Taiwan;Cornell University, Ithaca, NY

  • Venue:
  • ACM SIGSOFT Software Engineering Notes
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Test-driven refactoring (TDR) requires the developer to finish test adaptation before applying refactoring. However, the current approaches of TDR usually compromise the principle of Test-First and make the refactoring intent implicit. The failed delivery of refactoring intent hinders the opportunity of test-driven refactoring automation (TDRA). In this paper, a test code differencing algorithm TestDiff is provided to extract refactoring intents from test adaptation. A tool, Refiner, is demonstrated and evaluated by real cases.