Simulation-based Testing of Simulink Models with Test Sequence and Test Assessment Blocks

12/22/2022
by   Federico Formica, et al.
0

Simulation-based software testing supports engineers in finding faults in Simulink models. It typically relies on search algorithms that iteratively generate test inputs used to exercise models in simulation to detect design errors. While simulation-based software testing techniques are effective in many practical scenarios, they are typically not fully integrated within the Simulink environment and require additional manual effort. Many techniques require engineers to specify requirements using logical languages that are neither intuitive nor fully supported by Simulink, thereby limiting their adoption in industry. This work presents HECATE, a testing approach for Simulink models using Test Sequence and Test Assessment blocks from Simulink Test. Unlike existing testing techniques, HECATE uses information from Simulink models to guide the search-based exploration. Specifically, HECATE relies on information provided by the Test Sequence and Test Assessment blocks to guide the search procedure. Across a benchmark of 16 Simulink models from different domains and industries, our comparison of HECATE with the state-of-the-art testing tool S-TALIRO indicates that HECATE is both more effective (more failure-revealing test cases) and efficient (less iterations and computational time) than S-TALIRO for  94 successfully generated a failure-revealing test case for a representative case study from the automotive domain demonstrating its practical usefulness.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/22/2022

Search-based Software Testing Driven by Automatically Generated and Manually Defined Fitness Functions

Search-based software testing (SBST) typically relies on fitness functio...
research
05/29/2023

Test Case Generation for Drivability Requirements of an Automotive Cruise Controller: An Experience with an Industrial Simulator

Automotive software development requires engineers to test their systems...
research
07/19/2019

Automatic Generation of System Test Cases from Use Case Specifications: an NLP-based Approach

Software testing plays a crucial role to ensure the conformance of softw...
research
03/22/2022

Machine Learning Testing in an ADAS Case Study Using Simulation-Integrated Bio-Inspired Search-Based Testing

This paper presents an extended version of Deeper, a search-based simula...
research
02/28/2020

Metamorphic Testing: A New Approach for Generating Next Test Cases

In software testing, a set of test cases is constructed according to som...
research
08/10/2021

Searching for Multi-Fault Programs in Defects4J

Defects4J has enabled numerous software testing and debugging research w...
research
05/13/2021

VPPS-ART: An Efficient Implementation of Fixed-Size-Candidate-Set Adaptive Random Testing using Vantage Point Partitioning Strategy

As an enhanced version of Random Testing (RT), Adaptive Random Testing (...

Please sign up or login with your details

Forgot password? Click here to reset