A Multi-Case Study of Agile Requirements Engineering and the Use of Test Cases as Requirements

Bjarnason, Elizabeth and Unterkalmsteiner, Michael and Borg, Markus and Engström, Emelie (2016) A Multi-Case Study of Agile Requirements Engineering and the Use of Test Cases as Requirements. Information and Software Technology, 77 . pp. 61-79.

PDF (Accepted) - Accepted Version

Official URL:


[Context] It is an enigma that agile projects can succeed "without requirements" when weak requirements engineering is a known cause for project failures. While agile development projects often manage well without extensive requirements test cases are commonly viewed as requirements and detailed requirements are documented as test cases. [Objective] We have investigated this agile practice of using test cases as requirements to understand how test cases can support the main requirements activities, and how this practice varies. [Method] We performed an iterative case study at three companies and collected data through 14 interviews and 2 focus groups. [Results] The use of test cases as requirements poses both benefits and challenges when eliciting, validating, verifying, and managing requirements, and when used as a documented agreement. We have identified five variants of the test-cases-as-requirements practice, namely de facto, behaviour-driven, story-test driven, stand-alone strict and stand-alone manual for which the application of the practice varies concerning the time frame of requirements documentation, the requirements format, the extent to which the test cases are a machine executable specification and the use of tools which provide specific support for the practice of using test cases as requirements. [Conclusions] The findings provide empirical insight into how agile development projects manage and communicate requirements. The identified variants of the practice of using test cases as requirements can be used to perform in-depth investigations into agile requirements engineering. Practitioners can use the provided recommendations as a guide in designing and improving their agile requirements practices based on project characteristics such as number of stakeholders and rate of change.

Item Type:Article
Uncontrolled Keywords:Agile development, Requirements, Testing, Test-first development, Test-driven development, Behaviour-driven development, Acceptance test, Case study, Empirical software engineering
ID Code:6012
Deposited By:Markus Borg
Deposited On:12 Apr 2016 10:15
Last Modified:20 Jun 2016 10:49

Repository Staff Only: item control page