On #936, a prototype test coverage tool is shown which runs in CI, and from which you can download a report which shows untested lines. So far, this uncovered the following issues worth investigating by this tracking issue. Some of these indicate missing tests, or more importantly, code which is intended to run but isn't.
Additional issues can be added from time to time by updating the PR, merge in new code, and running the CI. Alternatively, you can install the pytest-cov (instruction will be in adding_solver.md / https://cpmpy.readthedocs.io/en/latest/adding_solver.html#testing-your-solver once released) to create the report locally (useful for solvers which do not run on CI e.g. gurobi)
Originally posted by @hbierlee in #936 (comment)
On #936, a prototype test coverage tool is shown which runs in CI, and from which you can download a report which shows untested lines. So far, this uncovered the following issues worth investigating by this tracking issue. Some of these indicate missing tests, or more importantly, code which is intended to run but isn't.
regularconstraint for MiniZinc #952Comparisons twice: Remove duplicate Comparison handling #951Additional issues can be added from time to time by updating the PR, merge in new code, and running the CI. Alternatively, you can install the pytest-cov (instruction will be in adding_solver.md / https://cpmpy.readthedocs.io/en/latest/adding_solver.html#testing-your-solver once released) to create the report locally (useful for solvers which do not run on CI e.g. gurobi)
Originally posted by @hbierlee in #936 (comment)