Automated Generation of Unit Tests for Refactoring
[ 1 ] Instytut Informatyki (II), Wydział Informatyki i Zarządzania, Politechnika Poznańska | [ P ] pracownik
2004
rozdział w monografii naukowej / referat
angielski
- refactoring
- unit testing
- automation
EN 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.
211 - 214