ITEA is the Eureka Cluster on software innovation
ITEA is the Eureka Cluster on software innovation
Please note that the ITEA Office will be closed from 25 December 2024 to 1 January 2025 inclusive.
ITEA 4 page header azure circular

MUT4SLX: Mutation Testing for Simulink Models

Project
20023 SmartDelta
Type
New product
Description

Several experience reports illustrate that mutation testing can support a “shift-left” testing strategy for software systems coded in textual programming languages like C++. However, for graphical modeling languages like Simulink, the relevant tools are missing.

MUT4SLX bridges this gap. The tool features 15 mutation operators, which are modeled after realistic faults (mined from an industrial bug database) and are fast to inject (because we only replace parameter values within blocks).

Contact
Prof. Serge Demeyer - Unibversiteit Antwerpen
Email
serge.demeyer@uantwerpen.be
Research area(s)
Software Test Automation
Technical features

MUT4SLX is a toolbox for mutation testing of Simulink Models.

MUT4SLX comprises two main components: (i) mutant generation and (ii) mutant execution. The mutant generation component is responsible for reading relevant parameters from the configuration and loading the model, as well as identifying the possible mutants. Users can use the CSV output generated by this component to preview the number of mutants, ignore certain mutants, or prioritize specific mutants before mutant execution takes place. The mutant execution component executes the given test cases on each of the mutants to count the number of killed and live mutants. Currently, two test engines are supported: Signal Builder and Simulink Test.

MUT4SLX was validated on a Helicopter Control System, a representative example built following the guidelines set out in ARP4754A, DO-178C, and DO-331 certifications. The validation shows that MUT4SLX is capable of injecting 70 mutants in less than a second, resulting in a total analysis time of 8.14 hours.

Integration constraints

The tool accesses the Simulink API via Python and uses a series of public domain Python libraries for generating the test coverage reports.

MATLAB version R2021b Python version 3.9.16 Libraries: matlab.engine

Targeted customer(s)

Test engineers working with automated build pipelines. Test engineers working on safety-critical systems are especially relevant.

Conditions for reuse

Type of protection: GNU GENERAL PUBLIC LICENSE (Version 3, 29 June 2007) https://github.com/haliliceylan/MUT4SLX/

The tool is released under a GNU PUBLIC LICENSE. It guarantees freedom to share and change all versions of a program provided that you grant the same license.

Confidentiality
Public
Publication date
08-11-2023
Involved partners
University of Antwerp (BEL)

Images