Efficient Black-Box Checking via Model Checking with Strengthened Specifications

Junya Shijubo, Masaki Waga, Kohei Suenaga
9/10/2021
cs.LO

Official code: MasWag/FalCAuN (7 stars, Java, GPL-3.0, last commit 2026-11-02).

Abstract

Black-box checking (BBC)} is a testing method for cyber-physical systems (CPSs) as well as software systems. BBC consists of active automata learning and model checking; a Mealy machine is learned from the system under test (SUT), and the learned Mealy machine is verified against a specification using model checking.

Show full abstract

When the Mealy machine violates the specification, the model checker returns an input witnessing the specification violation of the Mealy machine. We use it to refine the Mealy machine or conclude that the SUT violates the specification. Otherwise, we conduct equivalence testing to find an input witnessing the difference between the Mealy machine and the SUT. In the BBC for CPSs, equivalence testing tends to be time-consuming due to the time for the system execution. In this paper, we enhance the BBC utilizing model checking with strengthened specifications. By model checking with a strengthened specification, we have more chance to obtain an input witnessing the specification violation than model checking with the original specification. The refinement of the Mealy machine with such an input tends to reduce the number of equivalence testing, which improves the efficiency. We conducted experiments with an automotive benchmark. Our experiment results demonstrate the merit of our method.

View on arXivView PDF

Code Implementations(1)

MasWag/FalCAuNOfficial100%
GPL-3.0

Falsification of CPS via Automata Learning

75Java, Jupyter NotebookMay 27, 20194 weeks agoGPL-3.0
automata-learningmodel-based-testingsimulinktesting-tools

Similar Papers

Cite this paper

@article{shijubo2021efficient,
  title  = {Efficient Black-Box Checking via Model Checking with Strengthened Specifications},
  author = {Junya Shijubo and Masaki Waga and Kohei Suenaga},
  year   = {2021},
  eprint = {2109.04656},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.04656}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.04656.svg)](https://codeofpaper.com/paper/2109.04656)

Discussion