Skip to content

What's the current way of running unit tests on all solvers? #1192

@shadiakiki1986

Description

@shadiakiki1986

I've recently been trying to contribute to MOI through its testing (eg #1186 #1189 #1191), where I learned that you put unit tests that can benefit all solvers into MOI and run them from the solvers. If I add a test, what's the current way of running all the solver tests again to check if the new test catches any bugs? For example, I added a unit test for add_constraint in #1191 , and I'd like to run all solvers with this test to check if any solvers have bugs in their add_constraint implementation. My current method is just to dev a few solvers and run the tests for each, but that's sort of slow because it builds everything and runs all the tests, versus just running the specific test that I'm working on. Is there any "better practice" that's faster?

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