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

TestDriver should use composition and have less responsilibities

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • None

    Description

      Due to more and more (welcomed) refactorings, TestDriver is becoming bigger and bigger. Reducing code duplication is a good thing. But TestDriver begins to have too many responsibilities. A solution would be to use composition in order to extract responsibilities from it.

      I currently see a few topics that could profit from it:

      • Errors recording
      • Distributed Cache
      • Counter validation

      You are welcome to suggest more. This work might in the end also help with the implementation of the new API by providing a cleaner internal organisation of MRUnit.

      Attachments

        1. mrunit-counter-error-message.diff
          8 kB
          Bertrand Dechoux
        2. mrunit-record-error.diff
          11 kB
          Bertrand Dechoux
        3. mrunit-record-error.patch
          31 kB
          Bertrand Dechoux

        Activity

          People

            bdechoux Bertrand Dechoux
            bdechoux Bertrand Dechoux
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: