Abstract
Behaviour-Driven Development (BDD) is an agile testing
technique that enables software requirements to be specied as example
interactions with the system, using structured natural language. While
(in theory) being readable by non-technical stakeholders, the examples
can also be executed against the code base to identify behaviours that
are not yet correctly implemented. Writing good BDD suites, however, is
challenging. A typical suite can contain hundreds of individual scenarios,
that must correctly specify the system as a whole as well as individually.
Despite much discussion amongst practitioners and in the blogosphere,
as yet no formal denition of what makes for a high quality BSS suite
has been given. To shed light on this, we surveyed BDD practitioners,
asking for their opinions on the quality criteria that are important for
BDD suites. We proposed, and asked for opinions on, four quality principles,
and gave practitioners the option to add more principles of their
own. This paper reports on the results of the survey, and presents an
approach to dening BDD suite quality.
technique that enables software requirements to be specied as example
interactions with the system, using structured natural language. While
(in theory) being readable by non-technical stakeholders, the examples
can also be executed against the code base to identify behaviours that
are not yet correctly implemented. Writing good BDD suites, however, is
challenging. A typical suite can contain hundreds of individual scenarios,
that must correctly specify the system as a whole as well as individually.
Despite much discussion amongst practitioners and in the blogosphere,
as yet no formal denition of what makes for a high quality BSS suite
has been given. To shed light on this, we surveyed BDD practitioners,
asking for their opinions on the quality criteria that are important for
BDD suites. We proposed, and asked for opinions on, four quality principles,
and gave practitioners the option to add more principles of their
own. This paper reports on the results of the survey, and presents an
approach to dening BDD suite quality.
Original language | English |
---|---|
Title of host publication | 21st International Conference on Agile Software Development (XP2020) |
Publication status | Accepted/In press - 23 Mar 2020 |
Event | 21st International Conference on Agile Software Development - Copenhagen, Denmark Duration: 8 Jun 2020 → 12 Jun 2020 |
Conference
Conference | 21st International Conference on Agile Software Development |
---|---|
Abbreviated title | XP2020 |
Country/Territory | Denmark |
City | Copenhagen |
Period | 8/06/20 → 12/06/20 |
Keywords
- behaviour driven development
- test suite quality
- test suite quality assessment