Accelerating Black Box Testing with Light-Weight Learning

Roi Fogler, Itay Cohen, Doron Peled

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Black box testing can employ randomness for generating test sequences. Often, even a large number of test sequences may sample a minuscule portion of the overall behaviors, thus missing failures of the system under test. The challenge is to reconcile the tradeoff between good coverage and high complexity. Combining black box testing with learning (a sequence of increasingly more accurate) models for the tested system was suggested for improving the coverage of black box testing. The learned models can be used to perform more comprehensive exploration, e.g., using model checking. We present a light-weight approach that employs machine learning ideas in order to improve the coverage and accelerate the testing process. Rather than focus on constructing a complete model for the tested system, we construct a kernel, whose nodes are consistent with prefixes of test sequences that were examined so far; as part of the testing process, we keep refining and expanding the kernel. We detect whether the kernel itself contains faulty executions. Otherwise, we exploit the kernel to generate further test sequences that use only a reduced set of representative prefixes.

Original languageEnglish
Title of host publicationModel Checking Software - 29th International Symposium, SPIN 2023, Proceedings
EditorsGeorgiana Caltais, Christian Schilling
PublisherSpringer Science and Business Media Deutschland GmbH
Pages103-120
Number of pages18
ISBN (Print)9783031321566
DOIs
StatePublished - 2023
Event29th International Symposium on Model Checking Software, SPIN 2023, co-located with European Joint Conferences on Theory and Practice of Software, ETAPS 2023 - Paris, France
Duration: 26 Apr 202327 Apr 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13872 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference29th International Symposium on Model Checking Software, SPIN 2023, co-located with European Joint Conferences on Theory and Practice of Software, ETAPS 2023
Country/TerritoryFrance
CityParis
Period26/04/2327/04/23

Bibliographical note

Publisher Copyright:
© 2023, The Author(s), under exclusive license to Springer Nature Switzerland AG.

Funding

The research was partially funded by Israeli Science Foundation grant 1464/18: “Efficient Runtime Verification for Systems with Lots of Data and its Applications”.

FundersFunder number
Israel Science Foundation1464/18

    Fingerprint

    Dive into the research topics of 'Accelerating Black Box Testing with Light-Weight Learning'. Together they form a unique fingerprint.

    Cite this