ReFit:用于Eclipse重构插件的Fit测试维护插件

Michael Druk, Martin Kropp
{"title":"ReFit:用于Eclipse重构插件的Fit测试维护插件","authors":"Michael Druk, Martin Kropp","doi":"10.1109/TOPI.2013.6597187","DOIUrl":null,"url":null,"abstract":"The Fit framework is a widely established tool for automated acceptance test-driven development (ATDD). Fit stores the test specification separate from the test fixture code in an easily human readable and editable tabular form in HTML format. Additional tools like the FitPro plugin or FitN esse support the writing of test specifications and test fixtures from within the Eclipse IDE or the Web. With the increasing popularity of agile test-driven software development, maintenance of the evolving and growing test base has become an important issue. However, there has been no support yet for automated refactoring of Fit test cases. In a recent research project, we developed the Eclipse plugin ReFit for automated refactoring of Fit test cases. Fit test refactoring can occur due to changing requirements or changing Java code, which in either case means a cross-language refactoring to keep test specification and test fixture in sync. In this paper the concept for the development of the ReFit Eclipse Plugin is described, which significantly reduces the effort for Fit test maintenance and makes refactoring less error prone. Besides a tight integration into the existing Eclipse refactoring plugin, major goals of the plugin were to make it easy extensible for additional refactorings, new fixture types and further test specification file formats. Challenges faced when adding new and modifying existing Eclipse refactoring behavior are described and are due to the strong dependency on the Eclipse JDK and LTK features, and the solutions developed are presented.","PeriodicalId":274157,"journal":{"name":"2013 3rd International Workshop on Developing Tools as Plug-Ins (TOPI)","volume":"18 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"ReFit: A Fit test maintenance plug-in for the Eclipse refactoring plug-in\",\"authors\":\"Michael Druk, Martin Kropp\",\"doi\":\"10.1109/TOPI.2013.6597187\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The Fit framework is a widely established tool for automated acceptance test-driven development (ATDD). Fit stores the test specification separate from the test fixture code in an easily human readable and editable tabular form in HTML format. Additional tools like the FitPro plugin or FitN esse support the writing of test specifications and test fixtures from within the Eclipse IDE or the Web. With the increasing popularity of agile test-driven software development, maintenance of the evolving and growing test base has become an important issue. However, there has been no support yet for automated refactoring of Fit test cases. In a recent research project, we developed the Eclipse plugin ReFit for automated refactoring of Fit test cases. Fit test refactoring can occur due to changing requirements or changing Java code, which in either case means a cross-language refactoring to keep test specification and test fixture in sync. In this paper the concept for the development of the ReFit Eclipse Plugin is described, which significantly reduces the effort for Fit test maintenance and makes refactoring less error prone. Besides a tight integration into the existing Eclipse refactoring plugin, major goals of the plugin were to make it easy extensible for additional refactorings, new fixture types and further test specification file formats. Challenges faced when adding new and modifying existing Eclipse refactoring behavior are described and are due to the strong dependency on the Eclipse JDK and LTK features, and the solutions developed are presented.\",\"PeriodicalId\":274157,\"journal\":{\"name\":\"2013 3rd International Workshop on Developing Tools as Plug-Ins (TOPI)\",\"volume\":\"18 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2013-05-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2013 3rd International Workshop on Developing Tools as Plug-Ins (TOPI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/TOPI.2013.6597187\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 3rd International Workshop on Developing Tools as Plug-Ins (TOPI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TOPI.2013.6597187","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

Fit框架是一个广泛建立的用于自动化验收测试驱动开发(ATDD)的工具。Fit以易于人类阅读和编辑的HTML格式表格形式将测试规范与测试夹具代码分开存储。像FitPro插件或fitnesse这样的附加工具支持从Eclipse IDE或Web中编写测试规范和测试fixture。随着敏捷测试驱动软件开发的日益普及,不断发展和增长的测试库的维护已成为一个重要问题。然而,目前还不支持自动重构Fit测试用例。在最近的一个研究项目中,我们开发了用于自动重构Fit测试用例的Eclipse插件ReFit。由于需求的变化或Java代码的变化,Fit测试重构可能会发生,这两种情况都意味着跨语言重构以保持测试规范和测试fixture的同步。本文描述了ReFit Eclipse Plugin开发的概念,它大大减少了Fit测试维护的工作量,并使重构更不容易出错。除了与现有的Eclipse重构插件紧密集成之外,该插件的主要目标是使其易于扩展,以便进行额外的重构、新的fixture类型和进一步的测试规范文件格式。本文描述了在添加新的和修改现有的Eclipse重构行为时所面临的挑战,这些挑战是由于对Eclipse JDK和LTK特性的强烈依赖造成的,并介绍了开发的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
ReFit: A Fit test maintenance plug-in for the Eclipse refactoring plug-in
The Fit framework is a widely established tool for automated acceptance test-driven development (ATDD). Fit stores the test specification separate from the test fixture code in an easily human readable and editable tabular form in HTML format. Additional tools like the FitPro plugin or FitN esse support the writing of test specifications and test fixtures from within the Eclipse IDE or the Web. With the increasing popularity of agile test-driven software development, maintenance of the evolving and growing test base has become an important issue. However, there has been no support yet for automated refactoring of Fit test cases. In a recent research project, we developed the Eclipse plugin ReFit for automated refactoring of Fit test cases. Fit test refactoring can occur due to changing requirements or changing Java code, which in either case means a cross-language refactoring to keep test specification and test fixture in sync. In this paper the concept for the development of the ReFit Eclipse Plugin is described, which significantly reduces the effort for Fit test maintenance and makes refactoring less error prone. Besides a tight integration into the existing Eclipse refactoring plugin, major goals of the plugin were to make it easy extensible for additional refactorings, new fixture types and further test specification file formats. Challenges faced when adding new and modifying existing Eclipse refactoring behavior are described and are due to the strong dependency on the Eclipse JDK and LTK features, and the solutions developed are presented.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信