Skip to main content

On the Understanding of BDD Scenarios’ Quality: Preliminary Practitioners’ Opinions

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 10753))

Abstract

[Context & Motivation] In agile development, acceptance tests are written to express the details from the conversations between customers and developers. One of the formats to express those details is BDD (Behavior-Driven Development) scenarios, which use a ubiquitous language, one that business and technical people can understand, to build an executable specification that represents a system behavior. [Question/Problem] Problems caused by bad documentation are known to cause project failure and we believe those problems apply to documentation in the format of acceptance tests as well. Thus, in the long-term, we seek to understand what would be the definition of a good BDD scenario and the criteria to define it. [Principal idea/results] To achieve that, we previously identified known requirements’ quality attributes that would be suitable to evaluate BDD scenarios’ quality. Based on that list of attributes, we now aim to validate that list with practitioners, identify their interpretation of the listed attributes, and uncover general recommendations to write BDD scenarios. [Contribution] Preliminary results from our initial set of interviews revealed practitioners’ interpretations for consistent, testable, valuable, understandable, and unambiguous attributes and some recommendations to write good BDD scenarios, such as the use of declarative form of writing.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    https://diasporafoundation.org/.

References

  1. Cohn, M.: User Stories Applied: For Agile Software Development. Addison Wesley Longman Publishing Co., Inc., Redwood City (2004)

    Google Scholar 

  2. Bjarnason, E., Unterkalmsteiner, M., Borg, M., Engström, E.: A multi-case study of agile requirements engineering and the use of test cases as requirements. Inf. Softw. Technol. 77, 61–79 (2016)

    Article  Google Scholar 

  3. Smart, J.: BDD in Action: Behavior-Driven Development for the Whole Software Lifecycle. Manning Publications, Shelter Island (2014)

    Google Scholar 

  4. Kamata, M.I., Tamai, T.: How does requirements quality relate to project success or failure? In: International Requirements Engineering Conference, New Delhi, India, pp. 69–78. IEEE (2007)

    Google Scholar 

  5. Neely, S., Stolt, S.: Continuous delivery? Easy! just change everything (well, maybe it is not that easy). In: Agile Conference, Nashville, USA, pp. 121–128 (2013)

    Google Scholar 

  6. Oliveira, G., Marczak, S.: On the empirical evaluation of BDD scenarios quality: preliminary findings of an empirical study. In: Workshop on Empirical Requirements Engineering in Conjunction with the International Requirements Engineering Conference, Lisbon, Portugal. IEEE (2017)

    Google Scholar 

  7. IIBA: A Guide to the Business Analysis Body of Knowledge (BABOK Guide), 3rd edn. International Institute of Business Analysis (2015)

    Google Scholar 

  8. Lucassen, G., Dalpiaz, F., Van Der Werf, J., Brinkkemper, S.: Forging high-quality user stories: towards a discipline for agile requirements. In: International Requirements Engineering Conference, Ottawa, Canada, pp. 126–135 (2015)

    Google Scholar 

  9. Corbin, J., Strauss, A.: Basics of Qualitative Research: Techniques and Procedures for Developing Grounded Theory. SAGE Publications, Inc., Thousand Oaks (2004)

    Google Scholar 

Download references

Acknowledgments

The results presented in this paper were achieved in cooperation with Hewlett Packard Brasil LTDA, using incentives of the Brazilian Informatics Law (Law no 8.2.48 of 1991).

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Gabriel Oliveira or Sabrina Marczak .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Oliveira, G., Marczak, S. (2018). On the Understanding of BDD Scenarios’ Quality: Preliminary Practitioners’ Opinions. In: Kamsties, E., Horkoff, J., Dalpiaz, F. (eds) Requirements Engineering: Foundation for Software Quality. REFSQ 2018. Lecture Notes in Computer Science(), vol 10753. Springer, Cham. https://doi.org/10.1007/978-3-319-77243-1_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-77243-1_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-77242-4

  • Online ISBN: 978-3-319-77243-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics