TY - GEN
T1 - Assisted behavior driven development using natural language processing
AU - Soeken, Mathias
AU - Wille, Robert
AU - Drechsler, Rolf
PY - 2012
Y1 - 2012
N2 - In Behavior 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 to automatize the 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.
AB - In Behavior 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 to automatize the 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.
UR - http://www.scopus.com/inward/record.url?scp=84862188111&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-30561-0_19
DO - 10.1007/978-3-642-30561-0_19
M3 - Conference contribution
AN - SCOPUS:84862188111
SN - 9783642305603
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 269
EP - 287
BT - Objects, Models, Components, Patterns - 50th International Conference, TOOLS 2012, Proceedings
T2 - 50th International Conference on Objects, Models, Components, Patterns, TOOLS 2012
Y2 - 29 May 2012 through 31 May 2012
ER -