Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-636

Test coverage for each ScoreVerifier

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Do
    • Optional
    • None
    • 7.0.0.Beta2
    • optaplanner-test
    • NEW
    • NEW

    Description

      As part of PLANNER-458, we've added ScoreVerifier implementations in optaplanner-test (for one-pager explanation, see new docs, last section in chapter 5).

      Only HardSoftScoreVerifier and BendableScoreVerifier are currently indirectly unit tested through CloudBalancingScoreConstraintTest and TaskAssigningScoreConstraintTest.
      The others are untested.

      2 suggestions:

      • We add unit test for each ScoreVerifier somehow
      • or we add a ScoreConstrainTest for example (which we probably want to do anyway to test the examples DRL decently because they are used in demo's and copy-pasted by customers and users).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: