Automatically learning usage behavior and generating event sequences for black-box testing of reactive systems

被引:2
|
作者
Kirac, M. Furkan [1 ]
Aktemur, Baris [1 ]
Sozer, Hasan [1 ]
Gebizli, Ceren Sahin [2 ]
机构
[1] Ozyegin Univ, Comp Sci, Istanbul, Turkey
[2] Vestel Elect, Manisa, Turkey
关键词
Test case generation; Black-box testing; Recurrent neural networks; Long short-term memory networks; Learning usage behavior; MODEL;
D O I
10.1007/s11219-018-9439-1
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose a novel technique based on recurrent artificial neural networks to generate test cases for black-box testing of reactive systems. We combine functional testing inputs that are automatically generated from a model together with manually-applied test cases for robustness testing. We use this combination to train a long short-term memory (LSTM) network. As a result, the network learns an implicit representation of the usage behavior that is liable to failures. We use this network to generate new event sequences as test cases. We applied our approach in the context of an industrial case study for the black-box testing of a digital TV system. LSTM-generated test cases were able to reveal several faults, including critical ones, that were not detected with existing automated or manual testing activities. Our approach is complementary to model-based and exploratory testing, and the combined approach outperforms random testing in terms of both fault coverage and execution time.
引用
收藏
页码:861 / 883
页数:23
相关论文
共 50 条
  • [21] Inferring the dynamics of “black-box” systems using a learning machine
    Hong Zhao
    Science China Physics, Mechanics & Astronomy, 2021, 64
  • [22] Inferring the dynamics of “black-box” systems using a learning machine
    Hong Zhao
    Science China(Physics,Mechanics & Astronomy), 2021, (07) : 76 - 85
  • [23] Latent Imitator: Generating Natural Individual Discriminatory Instances for Black-Box Fairness Testing
    Xiao, Yisong
    Liu, Aishan
    Li, Tianlin
    Liu, Xianglong
    PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 829 - 841
  • [24] A Modular Hybrid Learning Approach for Black-Box Security Testing of CPS
    Castellanos, John Henry
    Zhou, Jianying
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY, ACNS 2019, 2019, 11464 : 196 - 216
  • [25] Black-box Generation of Adversarial Text Sequences to Evade Deep Learning Classifiers
    Gao, Ji
    Lanchantin, Jack
    Soffa, Mary Lou
    Qi, Yanjun
    2018 IEEE SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (SPW 2018), 2018, : 50 - 56
  • [26] Optical Security Document Simulator for Black-Box Testing of ABC Systems
    Gschwandtner, Michael
    Stolc, Svorad
    Daubner, Franz
    2014 IEEE JOINT INTELLIGENCE AND SECURITY INFORMATICS CONFERENCE (JISIC), 2014, : 300 - 303
  • [27] Control of Black-Box Embedded Systems by Integrating Automaton Learning and Supervisory Control Theory of Discrete-Event Systems
    Zhang, Huimin
    Feng, Lei
    Li, Zhiwu
    IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, 2020, 17 (01) : 361 - 374
  • [28] Black-Box Testing of Practical Movie Recommendation Systems: a Comparative Study
    Lee, Namhee
    Jung, Jason J.
    Selamat, Ali
    Hwang, Dosam
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2014, 11 (01) : 241 - 249
  • [29] Black-box identification of discrete event systems with optimal partitioning of concurrent subsystems
    Roth, Matthias
    Lesage, Jean-Jacques
    Litz, Lothar
    2010 AMERICAN CONTROL CONFERENCE, 2010, : 2601 - 2606
  • [30] Safety Filters for Black-Box Dynamical Systems by Learning Discriminating Hyperplanes
    Lavanakul, Will
    Choi, Jason J.
    Sreenath, Koushil
    Tomlin, Claire J.
    6TH ANNUAL LEARNING FOR DYNAMICS & CONTROL CONFERENCE, 2024, 242 : 1278 - 1291