Refactoring test code 论文

2001Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands引用 231
Software Engineering ResearchSoftware Testing and Debugging TechniquesSoftware Reliability and Analysis Research

详细信息

发表期刊/会议
Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands
发表日期
2001-07-31
发表年份
2001

关键词

Software Engineering ResearchSoftware Testing and Debugging TechniquesSoftware Reliability and Analysis Research

摘要

Two key aspects of extreme programming (XP) are unit testing and merciless refactoring. Given the fact that the ideal test code / production code ratio approaches 1:1, it is not surprising that unit tests are being refactored. We found that refactoring test code is different from refactoring production code in two ways: (1) there is a distinct set of bad smells involved, and (2) improving test code involves additional test-specific refactorings. To share our experiences with other XP practitioners, we describe a set of bad smells that indicate trouble in test code, and a collection of test refactorings to remove these smells.

相关技术

暂无数据

相关事件

暂无数据

相关文章

暂无数据