Assisted Behavior Driven Development Using Natural Language Processing

Assisted Behavior Driven Development Using Natural Language Processing
复制标题

DOI:
10.1007/978-3-642-30561-0_19
复制
发表时间:
2012-05
期刊:
--
影响因子:
--
通讯作者:
Mathias Soeken;R. Wille;R. Drechsler
Mathias Soeken;R. Wille;R. Drechsler
中科院分区:
其他
文献类型:
--
作者:
Mathias Soeken;R. Wille;R. Drechsler

文献摘要

被引文献

相似文献

在行为驱动开发(BDD)中,验收测试为软件设计流程提供了起点,并作为设计人员和涉众之间沟通的基础。在这种敏捷软件开发技术中,验收测试是用自然语言编写的,以确保项目的所有成员之间的共同理解。因此,将句子映射到实际源代码是设计流程的第一步,这通常是手动完成的。然而,验收测试描述的场景提供了足够的信息,以便自动提取实现结构和测试用例。在这项工作中,我们提出了一个辅助流程BDD,用户进入一个对话框与计算机,建议从句子中提取的代码片段。为此,自然语言处理技术被利用。这允许从验收测试到源代码存根的半自动转换,从而为BDD的自动化迈出了第一步。
InBehavior Driven Development(BDD), acceptance tests provide the starting point for the software design flow and serve as a basis for the communication between designers and stakeholders. In this agile software development technique, acceptance tests are written in natural language in order to ensure a common understanding between all members of the project. As a consequence, mapping the sentences to actual source code is the first step of the design flow, which is usually done manually.However, the scenarios described by the acceptance tests provide enough information in order toautomatizethe extraction of both the structure of the implementation and the test cases. In this work, we propose an assisted flow for BDD where the user enters into a dialog with the computer which suggests code pieces extracted from the sentences. For this purpose, natural language processing techniques are exploited. This allows for a semi-automatic transformation from acceptance tests to source code stubs and thus provides a first step towards an automatization of BDD.