期刊文献+

基于BDD的自动化测试框架研究 被引量:1

Research on the Automatic Testing Frameset Based on BDD
下载PDF
导出
摘要 敏捷开发模式的盛行掀起了自动化测试的一轮热潮,测试和开发合作越来越密切。本文研究的自动化测试框架,将BDD的敏捷开发理念与软件测试相融合,通过统一的Gherkin语言定义验收测试标准,帮助业务人员、测试人员和开发人员形成对需求明确统一的认识,然后通过web driver测试代码实现可执行的验收测试,以TDD的方式实现产品代码。该框架使用Specflow、Selenium和Ms Test等测试工具,真正实现了自动化测试,大大减少了手工测试的压力,促进开发测试过程中软件开发涉众之间的沟通,及时得到用户反馈,满足快速发布产品的需求,提升产品质量。 The popular Agile development pattem sets off an upsurge of automatic testing. It makes the cooperation of develop- ment and testing become more and more closely. This paper creates an automated testing frameset that can combine BDD agile development concept and software testing together. First we use Gherkin language to define acceptance criteria, which helps the business personnel, testing engineer and development engineer to form a clear and unified understanding of the system requirement. Then we use the web driver testing codes to realize the specific acceptance test, and write the product codes based on TDD. The frameset adopts the Specflow, Selenium and MsTest testing tools. It truly realizes the automated testing, and greatly reduces the manual test pressure. Meanwhile it facilitates the communication of software development stakeholders during development and testing process, gets the feedback from users in time, meets the needs of the rapid release of the product, and also improve the quality of the product.
作者 杨晔
出处 《电脑与电信》 2016年第6期30-33,共4页 Computer & Telecommunication
基金 省教育厅科研项目课题:"司法行政系统软件的自动化验收测试研究与应用" 项目编号:Y201328693
关键词 自动化测试 BDD Specflow SELENIUM SCENARIO automatic testing BDD Specflow Selenium Scenario
  • 相关文献

参考文献5

  • 1John Ferguson Smart. BDD IN ACTION: Behavior-driven devel- opment for the whole software lifecycle[M]. Manning Publications, 2014.
  • 2Matt Wynne, Aslak HeUesoy. THE CUCUMBER BOOK: Behav- iour-Driven Development for Testers and Developers[M]. The Pragmatic Bookshelf, 2012.
  • 3Gojko Adzic. SPECIFICATION BY EXAMPLE: How Successful Teams Deliver the Right Software. Manning Publications, 2011.
  • 4Lisa Crispin, Janet Gregory. AGILE TESTING: A Practical Guide FOR Testers And Agile Teams.Addison Wesley Publications, 2009.
  • 5Zhimin Zhan. PRACTICAL WEB TEST AUTOMATION: Test Web Applications Wisely. Leanpub. 2014.

同被引文献6

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部