DocumentCode
632651
Title
Towards automatic scenario generation from coverage information
Author
Diepenbeck, Melanie ; Soeken, Mathias ; Grobe, Daniel ; Drechsler, Rolf
Author_Institution
Inst. of Comput. Sci., Univ. of Bremen, Bremen, Germany
fYear
2013
fDate
18-19 May 2013
Firstpage
82
Lastpage
88
Abstract
Nowadays, the design of software systems is pushed towards agile development practices. One of its most fundamental approaches is Test Driven Development (TDD). This procedure is based on test cases which are incrementally written prior to the implementation. Recently, Behavior Driven Development (BDD) has been introduced as an extension of TDD, in which natural language scenarios are the starting point for the test cases. This description offers a ubiquitous communication mean for both the software developers and stakeholders. Following the BDD methodology thoroughly, one would expect 100 % code coverage, since code is only written to make the test cases pass. However, as we show in an empirical study this expectation is not valid in practice. It becomes even worse in the process of development, i.e. the coverage decreases over time. To close the coverage gap, we sketch an algorithm that generates BDD-style scenarios based on uncovered code.
Keywords
program testing; software prototyping; BDD methodology; TDD approach; agile development practice; behavior driven development; code coverage; coverage information; natural language scenario; scenario generation; software system design; test driven development; Boolean functions; Context; Data structures; Natural languages; Software; Testing; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Automation of Software Test (AST), 2013 8th International Workshop on
Conference_Location
San Francisco, CA
Type
conf
DOI
10.1109/IWAST.2013.6595796
Filename
6595796
Link To Document