Skip to content

Fix test coverage related issues #940

Description

@hbierlee

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions