http://homepages.cwi.nl/~leon/papers/xp2002/xp2002.pdf
"test-first refactoring" is a way to arrive at a better design for
existing code.
Taxonomy
Incompatible
Backwards Compatible
4. Test-First Refactoring
Several of them, such as long method, duplicated code, long parameter list, and so on, applyto test code as well as they do to production code. In many cases solving them involves not just a change on the test code, but first of all a refactoring of the production code.
5. Refactoring Test Code
Running Jester(mutation testing tool) before and after test case refactorings helps to verify that the changes did not affect test coverage.
7/3
His example illustrates how test case construction guides design when building new code; likewise, test case refactoring guides the improvement of design during refactoring.
'Papers > Others' 카테고리의 다른 글
객체생성, 소멸 (0) | 2007.01.19 |
---|---|
Refactoringin a "Test First" - World (0) | 2007.01.15 |
Refactoring Test Code (0) | 2007.01.13 |
inline function (0) | 2007.01.13 |
POSIX Thread (0) | 2007.01.11 |