Automated Acceptance Tests as Software Requirements: An Experiment to Compare the Applicability of Fit Tables and Gherkin Language

被引:11
作者
dos Santos, Ernani Cesar [1 ]
Vilain, Patricia [1 ]
机构
[1] Univ Fed Santa Catarina, Florianopolis, SC, Brazil
来源
AGILE PROCESSES IN SOFTWARE ENGINEERING AND EXTREME PROGRAMMING, XP 2018 | 2018年 / 314卷
关键词
Acceptance testing; Software requirements; Fit tables; Gherkin language; FitNesse; Cucumber; TDD; ATDD; BDD;
D O I
10.1007/978-3-319-91602-6_7
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
It is estimated that 85% of the defects in the developed software are originated from ambiguous, incomplete and wishful thinking software requirements. Natural language is often used to write software requirements specifications as well as user requirements. However, natural language specifications can be confusing and hard to understand. Some agile methodologists consider that acceptance tests are more precise and accurate sources of information about the customer's needs than descriptions in natural language. Several studies have addressed the use of acceptance tests as software requirements specification. Therefore, none of the previous studies has performed experiments to compare the applicability of different acceptance testing techniques in order to support an organization in the selection of one technique over another. This paper addresses this problem reporting an experiment conducted with undergraduate students in Computer Science. This experiment compares the applicability of two acceptance testing techniques (Fit tables and Gherkin language) as software requirements specification. This research tries to answer three questions: (a) Which technique is the easiest to learn in order to specify acceptance test scenarios? (b) Which technique requires less effort to specify acceptance tests? (c) Which technique is the best one to communicate software requirements? The results show that there is no sufficient evidence to affirm that one technique is easier to specify test scenarios or better to communicate software requirements. Whereas, the comparison of effort in terms of time to specify acceptance testing shows that the mean time to specify test scenarios using Gherkin language is lower than Fit tables.
引用
收藏
页码:104 / 119
页数:16
相关论文
共 16 条
[1]  
Beck K, 2003, TEST DRIVEN DEV EXAM
[2]   A Lightweight Semi-automated Acceptance Test-Driven Development Approach for Web Applications [J].
Clerissi, Diego ;
Leotta, Maurizio ;
Reggio, Gianna ;
Ricca, Filippo .
WEB ENGINEERING (ICWE 2016), 2016, 9671 :593-597
[3]  
Deng CY, 2007, LECT NOTES COMPUT SC, V4536, P93
[4]  
*IEEE, 1986, 10121986 IEEE
[5]  
Juristo N., 2013, Basics of Software Engineering Experimentation
[6]  
Longo D.H., 2015, P INT C SOFTW ENG KN, P330
[7]  
Melnik G., 2005, Companion to the 20th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications (OOPSLA '05), P365
[8]  
Mugridge R., 2005, FIT DEV SOFTWARE FRA
[9]  
Ricca F., 2007, P 3 INT ERCIM S SOFT, P83
[10]   Using acceptance tests as a support for clarifying requirements: A series of experiments [J].
Ricca, Filippo ;
Torchiano, Marco ;
Di Penta, Massimiliano ;
Ceccato, Mariano ;
Tonella, Paolo .
INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (02) :270-283