arrow
返回

Automated and Efficient Test-Generation for Grid-Based Multiagent Systems: Comparing Random Input Filtering versus Constraint Solving

delete2023-11-23
delete1
delete
OA
AI
S
Sina Entekhabi *
W
Wojciech Mostowski
M
Mohammad Reza Mousavi
DOI:10.1145/3624736delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Automatic generation of random test inputs is an approach that can alleviate the challenges of manual test case design. However, random test cases may be ineffective in fault detection and increase testing cost, especially in systems where test execution is resource- and time-consuming. To remedy this, the domain knowledge of test engineers can be exploited to select potentially effective test cases. To this end, test selection constraints suggested by domain experts can be utilized either for filtering randomly generated test inputs or for direct generation of inputs using constraint solvers. In this article, we propose a domain specific language (DSL) for formalizing locality-based test selection constraints of autonomous agents and discuss the impact of test selection filters, specified in our DSL, on randomly generated test cases. We study and compare the performance of filtering and constraint solving approaches in generating selective test cases for different test scenario parameters and discuss the role of these parameters in test generation performance. Through our study, we provide criteria for suitability of the random data filtering approach versus the constraint solving one under the varying size and complexity of our testing problem. We formulate the corresponding research questions and answer them by designing and conducting experiments using QuickCheck for random test data generation with filtering and Z3 for constraint solving. Our observations and statistical analysis indicate that applying filters can significantly improve test efficiency of randomly generated test cases. Furthermore, we observe that test scenario parameters affect the performance of the filtering and constraint solving approaches differently. In particular, our results indicate that the two approaches have complementary strengths: random generation and filteringworks best for large agent numbers and long paths, while its performance degrades in the larger grid sizes and more strict constraints. On the contrary, constraint solving has a robust performance for large grid sizes and strict constraints, while its performance degrades with more agents and long paths.
Keyword:
Test input generation
domain specific languages
test selection
autonomous agents
multiagent systems
grid-based systems
constraint solving
test input filtering

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

H
Halmstad University
学者数:
948
论文数: 930
被引数: 995
引用论文

引用论文

Firefighting Acutely Increases Airway Responsiveness消防急性增加气道反应性
err1989-07-01
err0
PREAI
errCharles B. Sherman; Scott Barnhart; Mary F. Miller; Mark R. Segal; Moira Aitken; Robert Schoene; William Daniell; Linda Rosenstock
err分享
err收藏
err分享
err收藏
A Survey on Adaptive Random Testing适应性随机测试综述
err2021-10-01
err58
errOAAI
errHuang, Rubing; Sun, Weifeng; Xu, Yinyin; Chen, Haibo; Towey, Dave; Xia, Xin
err分享
err收藏
Diversity and conservation priorities of crop wild relatives in Mexico
err2019-01-26
err0
PREAI
errAremi R. Contreras-Toledo; Moisés Cortés-Cruz; Denise E. Costich; Ma. de Lourdes Rico-Arce; Joana Magos Brehm; Nigel Maxted
err分享
err收藏
Primary parotid lymphoma: the effect of international prognostic index on outcome
err2009-08-05
err0
PREAI
errAndreas H. Sarris; Vali Papadimitrakopoulou; Meletios A. Dimopoulos; Terry Smith; William Pugh; Chul S. Ha; Peter McLaughlin; David Callender; James Cox; Fernando Cabanillas
err分享
err收藏
学者 查看更多内容