摘要
敏捷开发模式的盛行掀起了自动化测试的一轮热潮,测试和开发合作越来越密切。本文研究的自动化测试框架,将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