基于行为驱动开发的自动化测试方法研究  被引量:3

The Research on Behavior-driven Development of Automated Testing

在线阅读下载全文

作  者:曹洋[1] 崔萌[2] 

机构地区:[1]北京劳动保障职业学院劳动经济管理系,北京100029 [2]中国电信股份有限公司云计算分公司,北京100029

出  处:《清远职业技术学院学报》2013年第6期1-4,共4页Journal of Qingyuan Polytechnic

基  金:国家社科基金项目(编号:11BTJ002);北京市自然科学基金项目(编号:9122004)

摘  要:通过分析目前软件自动化测试的现状,指出了普遍存在的自动化测试程序可读性差、数据不便于维护等问题,介绍了基于行为驱动开发的自动化测试方法。通过实例介绍了如何将此方法应用到Web前端自动化测试中,并介绍了Cucumber和Selenium测试工具。最后,将基于行为驱动开发的自动化测试方法和传统的自动化测试方法对比,总结了该方法的优点。By analyzing the present situation of automated testing software, this paper pointed out the common problems of automated test such as poor readable programs, difficult-to-maintain data and other issues. The authors also introduced an automated testing method based on behavior-driven development. This paper used examples to show how this method can be applied to the Web front-end automated testing, and introduced the Cucumber and Selenium testing tools. Finally, it compared the automated testing based on behavior-driven development with the traditional automated testing, and summed up the advantages.

关 键 词:行为驱动 开发 自动化测试 

分 类 号:O178.1[理学—数学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象