首页 | 本学科首页   官方微博 | 高级检索  
     

基于BDD 的自动化测试框架研究
引用本文:杨晔. 基于BDD 的自动化测试框架研究[J]. 广东电脑与电讯, 2016, 1(6): 30-33
作者姓名:杨晔
作者单位:浙江警官职业学院信息技术与管理系
基金项目:本文是省教育厅科研项目课题:“司法行政系统软件的自动化验收测试研究与应用”,项目编号:Y201328693。
摘    要:敏捷开发模式的盛行掀起了自动化测试的一轮热潮,测试和开发合作越来越密切。本文研究的自动化测试框架,将BDD 的敏捷开发理念与软件测试相融合,通过统一的Gherkin 语言定义验收测试标准,帮助业务人员、测试人员和开发人员形成对需求明确统一的认识,然后通过web driver 测试代码实现可执行的验收测试,以TDD 的方式实现产品代码。该框架使用Specflow、Selenium 和MsTest 等测试工具,真正实现了自动化测试,大大减少了手工测试的压力,促进开发测试过程中软件开发涉众之间的沟通,及时得到用户反馈,满足快速发布产品的需求,提升产品质量。

关 键 词:自动化测试  BDD  Specflow  Selenium  Scenario  

Research on the Automatic Testing Frameset Based on BDD
Yang Ye. Research on the Automatic Testing Frameset Based on BDD[J]. Computer & Telecommunication, 2016, 1(6): 30-33
Authors:Yang Ye
Abstract:The popular Agile development pattern sets off an upsurge of automatic testing. It makes the cooperation of developmentand testing become more and more closely. This paper creates an automated testing frameset that can combine BDD agile developmentconcept and software testing together. First we use Gherkin language to define acceptance criteria, which helps the businesspersonnel, 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. Theframeset adopts the Specflow, Selenium and MsTest testing tools. It truly realizes the automated testing, and greatly reduces the manualtest pressure. Meanwhile it facilitates the communication of software development stakeholders during development and testingprocess, gets the feedback from users in time, meets the needs of the rapid release of the product, and also improve the quality of theproduct.
Keywords:automatic testing  BDD  Specflow  Selenium  Scenario  
点击此处可从《广东电脑与电讯》浏览原始摘要信息
点击此处可从《广东电脑与电讯》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号