Document Actions
Automated Generation of Unit Tests for RefactoringBartosz Walter and Błażej Pietrzak (2004) In: Extreme Programming and Agile Processes in Software Engineering, vol. 3092, pp. 211–214, Springer. LNCS. |
The key issue for effective refactoring is to ensure that observable behavior of the code will not change. Use of regression tests is the suggested method for verifying this property, but they appear to be not well suited for applying refactorings. The tests verify the domain-specific code relations, and often neglect properties important for the given refactoring or check the ones that actually change. In the paper we present a concept of generic refactoring tests, which are oriented toward the refactorings rather than the code. They can be generated automatically, are able to adapt to changes introduced by refactorings and learn the specifics of the tested code.
Praca finansowana przez Komited Badań Naukowych w ramach grantu 4 T11F 001 23 (lata 2002-2005) |