【24h】

Bad Smells and Refactoring Methods for GUI Test Scripts

机译:GUI测试脚本的不良气味和重构方法

获取原文
获取原文并翻译 | 示例

摘要

Testing the GUI (Graphical User Interface) of a software application is typically accomplished by developing a GUI test script composed of sequences of events and assertions. A GUI test script is in a sense similar to the source code of a program, since events and assertions are like source-code statements, which are executed line by line. Therefore, like source code, a GUI test script may have bad smells, and refactoring is an effective technique that can eradicate bad smells, making the script better and easier to maintain. This paper studies the bad smells a GUI test script may have and the refactoring methods that can be applied to remove the bad smells. A total of 11 bad smells are identified and 16 refactoring methods are proposed. The refactoring methods have been implemented in a GUI testing tool, called GTT, to support the automatic refactoring of GUI test scripts.
机译:测试软件应用程序的GUI(图形用户界面)通常是通过开发由事件和断言序列组成的GUI测试脚本来完成的。 GUI测试脚本在某种意义上类似于程序的源代码,因为事件和断言就像源代码语句一样,它们逐行执行。因此,就像源代码一样,GUI测试脚本可能有难闻的气味,重构是一种可以消除难闻的气味的有效技术,使脚本更易于维护。本文研究了GUI测试脚本可能具有的恶臭,以及可用于消除恶臭的重构方法。总共确定了11种难闻的气味,并提出了16种重构方法。重构方法已在称为GTT的GUI测试工具中实现,以支持GUI测试脚本的自动重构。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号