Cargando…
Characterising the Quality of Behaviour Driven Development Specifications
Behaviour Driven Development (BDD) is an agile testing technique that enables software requirements to be specified 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 th...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7251619/ http://dx.doi.org/10.1007/978-3-030-49392-9_6 |
_version_ | 1783538992506994688 |
---|---|
author | Binamungu, Leonard Peter Embury, Suzanne M. Konstantinou, Nikolaos |
author_facet | Binamungu, Leonard Peter Embury, Suzanne M. Konstantinou, Nikolaos |
author_sort | Binamungu, Leonard Peter |
collection | PubMed |
description | Behaviour Driven Development (BDD) is an agile testing technique that enables software requirements to be specified 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 definition of what makes for a high quality BDD 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 defining BDD suite quality. |
format | Online Article Text |
id | pubmed-7251619 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-72516192020-05-27 Characterising the Quality of Behaviour Driven Development Specifications Binamungu, Leonard Peter Embury, Suzanne M. Konstantinou, Nikolaos Agile Processes in Software Engineering and Extreme Programming Article Behaviour Driven Development (BDD) is an agile testing technique that enables software requirements to be specified 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 definition of what makes for a high quality BDD 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 defining BDD suite quality. 2020-05-06 /pmc/articles/PMC7251619/ http://dx.doi.org/10.1007/978-3-030-49392-9_6 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. |
spellingShingle | Article Binamungu, Leonard Peter Embury, Suzanne M. Konstantinou, Nikolaos Characterising the Quality of Behaviour Driven Development Specifications |
title | Characterising the Quality of Behaviour Driven Development Specifications |
title_full | Characterising the Quality of Behaviour Driven Development Specifications |
title_fullStr | Characterising the Quality of Behaviour Driven Development Specifications |
title_full_unstemmed | Characterising the Quality of Behaviour Driven Development Specifications |
title_short | Characterising the Quality of Behaviour Driven Development Specifications |
title_sort | characterising the quality of behaviour driven development specifications |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7251619/ http://dx.doi.org/10.1007/978-3-030-49392-9_6 |
work_keys_str_mv | AT binamunguleonardpeter characterisingthequalityofbehaviourdrivendevelopmentspecifications AT emburysuzannem characterisingthequalityofbehaviourdrivendevelopmentspecifications AT konstantinounikolaos characterisingthequalityofbehaviourdrivendevelopmentspecifications |