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

Unit tests in xlsx files for conference scheduling and meeting scheduling

XMLWordPrintable

      As discussed. One green tab per test method (so at least one per score rule).

      1) First fase requirements:

      • Every single score rule must be unit tested! It's called the Bernard rule. (you can mention that in the blog article ).
      • It should use the ScoreVerifier underneath.
      • Reuse the Xlsx solution FileIO partially. (Don't make it more lenient for normal dataset reading, but do reuse common code).
        • One way might be to add a boolean parameter "unitTestRead=true" that if true makes it more lenient and looks for a the blue tab with a specific name (which is also a parameter I guess)

      Attached is a napkin prototype of such an xls file. (Although it should not contain any yellow tabs probably)

      2) Second fase: write a blog article about it.

            mtalluzi@redhat.com Musa Talluzi (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: