de Castro-Cabrera, Madel S.S.D.C., Estévez-Martín, Sonia, Díaz, Luis Llana et al. (1 more author) (2026) Applying mutation testing and metamorphic testing to MiniZinc scheduling problems. Information and Software Technology. 108310. ISSN: 0950-5849
Abstract
Context: Software testing is fundamental for ensuring quality in complex optimization and constraint satisfaction systems. Although testing techniques for imperative programming are well-established, their application to declarative languages, such as MiniZinc, remains significantly under-explored. Objective: This paper addresses this research gap by investigating the effectiveness of Metamorphic Testing (MT) and Mutation Testing within the context of MiniZinc models for scheduling problems. Method: We systematically designed and implemented new Metamorphic Relations (MRs) specifically tailored to MiniZinc and scheduling constraints. Additionally, we introduced a suite of 42 mutation operators designed to expose common faults in declarative modeling. The proposed approach was validated through an extensive empirical evaluation using the Resource-Constrained Project Scheduling Problem (RCPSP) as a benchmark. Results: Our findings demonstrate that the proposed MRs are highly effective in revealing subtle defects that remain undetected by traditional testing techniques and the original source test suites. Furthermore, analysis of the 42 mutation operators confirms that a significant proportion are capable of exposing critical faults, providing valuable metrics to enhance the completeness and reliability of test suites for MiniZinc programs. Conclusion: This research advances the state of the art in testing constraint programming models, promoting the development of more robust and reliable solutions for critical application domains, such as industrial optimization environments.
Metadata
| Item Type: | Article |
|---|---|
| Authors/Creators: |
|
| Copyright, Publisher and Additional Information: | © 2026 The Authors. |
| Keywords: | Constraint programming,Metamorphic testing,MiniZinc,Mutation testing,Scheduling problems |
| Dates: |
|
| Institution: | The University of York |
| Academic Units: | The University of York > Faculty of Sciences (York) > Computer Science (York) |
| Date Deposited: | 02 Oct 2026 10:14 |
| Last Modified: | 08 Nov 2026 00:14 |
| Published Version: | https://doi.org/10.1016/j.infsof.2026.108310 |
| Status: | Published online |
| Refereed: | Yes |
| Identification Number: | 10.1016/j.infsof.2026.108310 |
| Related URLs: | |
| Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:246249 |
Download
Filename: 1-s2.0-S0950584926002995-main.pdf
Description: Applying mutation testing and metamorphic testing to MiniZinc scheduling problems
Licence: CC-BY-NC-ND 2.5

CORE (COnnecting REpositories)
CORE (COnnecting REpositories)