Synthesizing Adaptive Test Strategies from Temporal Logic Specifications

09/05/2018
by   Roderick Bloem, et al.
0

Constructing good test cases is difficult and time-consuming, especially if the system under test is still under development and its exact behavior is not yet fixed. We propose a new approach to compute test strategies for reactive systems from a given temporal logic specification using formal methods. The computed strategies are guaranteed to reveal certain simple faults in every realization of the specification and for every behavior of the uncontrollable part of the system's environment. The proposed approach supports different assumptions on occurrences of faults (ranging from a single transient fault to a persistent fault) and by default aims at unveiling the weakest one. Based on well-established hypotheses from fault-based testing, we argue that such tests are also sensitive for more complex bugs. Since the specification may not define the system behavior completely, we use reactive synthesis algorithms with partial information. The computed strategies are adaptive test strategies that react to behavior at runtime. We work out the underlying theory of adaptive test strategy synthesis and present experiments for a safety-critical component of a real-world satellite system. We demonstrate that our approach can be applied to industrial specifications and that the synthesized test strategies are capable of detecting bugs that are hard to detect with random testing.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/19/2022

Synthesizing Reactive Test Environments for Autonomous Systems: Testing Reach-Avoid Specifications with Multi-Commodity Flows

We study automated test generation for verifying discrete decision-makin...
research
10/04/2022

Synthesizing Dominant Strategies for Liveness (Full Version)

Reactive synthesis automatically derives a strategy that satisfies a giv...
research
03/27/2018

Reactive Synthesis: Towards Output-Sensitive Algorithms

Reactive synthesis is a technology for the automatic construction of rea...
research
11/10/2019

Synthesis of coordination programs from linear temporal logic

This paper presents a method for synthesizing a reactive program which c...
research
08/30/2022

Model-based Fault Classification for Automotive Software

Intensive testing using model-based approaches is the standard way of de...
research
07/31/2020

Near-Optimal Reactive Synthesis Incorporating Runtime Information

We consider the problem of optimal reactive synthesis - compute a strate...
research
09/25/2020

Synthesis of Infinite-State Systems with Random Behavior

Diversity in the exhibited behavior of a given system is a desirable cha...

Please sign up or login with your details

Forgot password? Click here to reset