Reasoning-Based Software Testing

03/02/2023
by   Luca Giamattei, et al.
0

With software systems becoming increasingly pervasive and autonomous, our ability to test for their quality is severely challenged. Many systems are called to operate in uncertain and highly-changing environment, not rarely required to make intelligent decisions by themselves. This easily results in an intractable state space to explore at testing time. The state-of-the-art techniques try to keep the pace, e.g., by augmenting the tester's intuition with some form of (explicit or implicit) learning from observations to search this space efficiently. For instance, they exploit historical data to drive the search (e.g., ML-driven testing) or the tests execution data itself (e.g., adaptive or search-based testing). Despite the indubitable advances, the need for smartening the search in such a huge space keeps to be pressing. We introduce Reasoning-Based Software Testing (RBST), a new way of thinking at the testing problem as a causal reasoning task. Compared to mere intuition-based or state-of-the-art learning-based strategies, we claim that causal reasoning more naturally emulates the process that a human would do to ”smartly" search the space. RBST aims to mimic and amplify, with the power of computation, this ability. The conceptual leap can pave the ground to a new trend of techniques, which can be variously instantiated from the proposed framework, by exploiting the numerous tools for causal discovery and inference. Preliminary results reported in this paper are promising.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/29/2023

Applications of Causality and Causal Inference in Software Engineering

Causal inference is a study of causal relationships between events and t...
research
01/27/2020

Layered Clause Selection for Theory Reasoning

Explicit theory axioms are added by a saturation-based theorem prover as...
research
07/29/2021

A Pairwise T-Way Test Suite Generation Strategy Using Gravitational Search Algorithm

Software faults are commonly occurred due to interactions between one or...
research
08/25/2022

Synthetic End-User Testing: Modeling Realistic Agents Based on Behavioral Examples

For software interacting directly with real-world end-users, it is commo...
research
12/15/2021

Nirikshak: An Autonomous Testing Framework

Quality Assurance (QA) is an important part of any product. But even wit...
research
09/01/2022

Testing Causality in Scientific Modelling Software

From simulating galaxy formation to viral transmission in a pandemic, sc...
research
07/17/2023

Systematic Testing of the Data-Poisoning Robustness of KNN

Data poisoning aims to compromise a machine learning based software comp...

Please sign up or login with your details

Forgot password? Click here to reset