计算机科学 > 软件工程
[提交于 2015年6月24日]
标题:Mutation Testing as a Safety Net for Test Code Refactoring
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Refactoring is an activity that improves the internal structure of the code without altering its external behavior. When performed on the production code, the tests can be used to verify that the external behavior of the production code is preserved. However, when the refactoring is performed on test code, there is no safety net that assures that the external behavior of the test code is preserved. In this paper, we propose to adopt mutation testing as a means to verify if the behavior of the test code is preserved after refactoring. Moreover, we also show how this approach can be used to identify the part of the test code which is improperly refactored.
提交历史
来自:Ali Parsai[v1] 2015年6月24日 星期三 11:46:09 UTC