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 条
[11]  
Rose S, 2015, MANAGEMENT RESEARCH: APPLYING THE PRINCIPLES, P1
[12]  
Sarmiento E, 2014, 2014 IEEE 1ST INTERNATIONAL WORKSHOP ON REQUIREMENTS ENGINEERING AND TESTING (RET), P32, DOI 10.1109/RET.2014.6908677
[13]  
Sommerville I., 2015, BOOK SOFTWARE ENG 10, V10th
[14]  
Torchiano Marco, 2007, 2007 First International Symposium on Empirical Software Engineering and Measurement, P464
[15]  
Wanderley F, 2015, INT CONF RES CHAL, P309, DOI 10.1109/RCIS.2015.7128891
[16]  
Wohlin C., 2012, EXPT SOFTWARE ENG IN