Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-125

Rendering Test framework incorrectly report errors for subsequent tests after a test has failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2 M2
    • Fix Version/s: 3.2 M3
    • Labels:
      None
    • Similar issues:

      Description

      This is because the same JMock Mockery object is reused over tests and it accumulates errors.
      The solution is to isolate each test by ensuring that each one has a new component manager used.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: