Mutation testing is an established software quality assurance technique for the assessment of test suites. While it is well-suited to estimate the general fault-revealing capability of a test suite, it is not practical and informative when the software under test must be validated against specific requirements. This is often the case for embedded software, where the software is typically validated against rigorously-specified safety properties. In such a scenario (i) a mutant is relevant only if it can impact the satisfaction of the tested properties, and (ii) a mutant is meaningfully-killed with respect to a property only if it causes the violation of that property. To address these limitations of mutation testing, we introduce property-based mutation testing, a method for assessing the capability of a test suite to exercise the software with respect to a given property. We evaluate our property-based mutation testing framework on Simulink models of safety-critical Cyber-Physical Systems (CPS) from the automotive and avionic domains and demonstrate how property-based mutation testing is more informative than regular mutation testing. These results open new perspectives in both mutation testing and test case generation of CPS.

Bartocci, E., Mariani, L., Nickovic, D., Yadav, D. (2023). Property-Based Mutation Testing. In Proceedings - 2023 IEEE 16th International Conference on Software Testing, Verification and Validation, ICST 2023 (pp.222-233). Institute of Electrical and Electronics Engineers Inc. [10.1109/ICST57152.2023.00029].

Property-Based Mutation Testing

Mariani L.;
2023

Abstract

Mutation testing is an established software quality assurance technique for the assessment of test suites. While it is well-suited to estimate the general fault-revealing capability of a test suite, it is not practical and informative when the software under test must be validated against specific requirements. This is often the case for embedded software, where the software is typically validated against rigorously-specified safety properties. In such a scenario (i) a mutant is relevant only if it can impact the satisfaction of the tested properties, and (ii) a mutant is meaningfully-killed with respect to a property only if it causes the violation of that property. To address these limitations of mutation testing, we introduce property-based mutation testing, a method for assessing the capability of a test suite to exercise the software with respect to a given property. We evaluate our property-based mutation testing framework on Simulink models of safety-critical Cyber-Physical Systems (CPS) from the automotive and avionic domains and demonstrate how property-based mutation testing is more informative than regular mutation testing. These results open new perspectives in both mutation testing and test case generation of CPS.
paper
Cyber-Physical Systems; Mutation Testing; Signal Temporal Logic (STL); Simulink Models; Software Testing
English
16th IEEE International Conference on Software Testing, Verification and Validation, ICST 2023 - 16-20 April 2023
2023
Proceedings - 2023 IEEE 16th International Conference on Software Testing, Verification and Validation, ICST 2023
978-1-6654-5666-1
2023
222
233
none
Bartocci, E., Mariani, L., Nickovic, D., Yadav, D. (2023). Property-Based Mutation Testing. In Proceedings - 2023 IEEE 16th International Conference on Software Testing, Verification and Validation, ICST 2023 (pp.222-233). Institute of Electrical and Electronics Engineers Inc. [10.1109/ICST57152.2023.00029].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/454280
Citazioni
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 1
Social impact