RobotBT: Behavior-Tree-Based Test-Case Specification for the Robot Framework

被引:0
作者
Peldszus, Sven [1 ]
Akopian, Noubar [1 ]
Berger, Thorsten [1 ,2 ]
机构
[1] Ruhr Univ Bochum, Bochum, Germany
[2] Chalmers Univ Gothenburg, Gothenburg, Sweden
来源
PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023 | 2023年
关键词
Test Case Specification; Robot Framework; Behavior Tree;
D O I
10.1145/3597926.3604924
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Robot Framework is a popular and widely used test automation framework that abstracts test case specifications toward natural language specifications. This makes it well suited for implementing high-level test cases, at least as long as the functions provided by Robot can support the intended functionality. For more complicated test cases, custom and often deeply nested functionality specifications are required, and the readability of Robot test cases tends to decrease. We present RobotBT, a library for the Robot framework that addresses these shortcomings by adding support for specifying test cases using behavior trees. Behavior trees are a comprehensive method for specifying complex behaviors based on a control fiow model that orchestrates the execution of functionality. We evaluated RobotBT on a test suite for GUI testing from G DATA CyberDefense AG and interviewed their engineers about the usability, readability, and applicability of RobotBT. Our results show that BTs improve the expressiveness and readability of Robot Framework test cases and are applicable to practical problems.
引用
收藏
页码:1503 / 1506
页数:4
相关论文
共 14 条
[1]  
Akopian Noubar., 2023, GitHub Repository of RobotBT
[2]  
[Anonymous], 2023, Py-Trees
[3]  
Berger Thorsten, 2023, Domain-Specific Languages: Effective Modeling, Automation, and Reuse, VXVI
[4]  
Colledanchise M., 2018, BEHAV TREES ROBOTICS, DOI [DOI 10.1201/9780429489105, 10.1201/9780429489105]
[5]   How Behavior Trees Modularize Hybrid Control Systems and Generalize Sequential Behavior Compositions, the Subsumption Architecture, and Decision Trees [J].
Colledanchise, Michele ;
Ogren, Petter .
IEEE TRANSACTIONS ON ROBOTICS, 2017, 33 (02) :372-389
[6]  
Faconti D., 2018, BehaviorTree
[7]  
Gartner M., 2012, ATDD by example: A practical guide to acceptance test-driven development
[8]   Behavior Trees in Action: A Study of Robotics Applications [J].
Ghzouli, Razan ;
Berger, Thorsten ;
Johnsen, Einar Broch ;
Dragule, Swaib ;
Wasowski, Andrzej .
PROCEEDINGS OF THE 13TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, SLE 2020, 2020, :196-209
[9]  
Ghzouli Razan, 2023, IEEE Trans. Software Eng, V2023
[10]  
Klarck Pekka, 2023, RobotFramework