SolverCheck: Declarative Testing of Constraints

Gillard, Xavier;Schaus, Pierre;Deville, Yves;et.al.
(2019) The 25th International Conference on Principles and Practice of Constraint Programming — Location: Stamford, CT, USA (30.September.2019)

Files

paper_133.pdf
  • Open Access
  • Adobe PDF
  • 940.42 KB

Details

Authors
Abstract
This paper introduces SolverCheck, a property-based testing (PBT) library specifically designed to test CP solvers. In particular, SolverCheck provides a declarative language to express a propagator's expected behavior and test it automatically. That language is easily extended with new constraints and flexible enough to precisely describe a propagator's consistency. Experiments carried out using Choco, JaCoP and MiniCP revealed the presence of numerous non-trivial bugs, no matter how carefully the test suites of these solvers have been engineered. Beyond the remarkable effectiveness of our technique to assess the correctness and robustness of a solver, our experiments also demonstrated the practical usability of SolverCheck to test actual CP-solvers.
Affiliations

Citations

Gillard, X., Schaus, P., Deville, Y., & et al. (2019). SolverCheck: Declarative Testing of Constraints. Principles and Practice of Constraint Programming. Published. The 25th International Conference on Principles and Practice of Constraint Programming, Stamford, CT, USA. https://doi.org/10.1007/978-3-030-30048-7_33