Uploaded image for project: 'MRUnit'
  1. MRUnit
  2. MRUNIT-126

Counter tests are ignored if test is executed using run() rather than runTest()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 1.0.0
    • Labels:
      None

      Description

      An alternative way of running an mrunit test is to call run(), which returns the output list to you for manual validation, rather than runTest() which validates everything automatically.

      If you run a test using the run() method, any counter tests you have specified via withCounter(..) etc are silently ignored, which may falsely give the impression that these tests have passed.

      At the very least we should give a warning that this is happening. Otherwise, we should make sure the counter validation is triggered in all cases.

        Attachments

        1. MRUNIT-126.patch
          7 kB
          Dave Beech

          Issue Links

            Activity

              People

              • Assignee:
                dbeech Dave Beech
                Reporter:
                dbeech Dave Beech
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: