Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33665

Tests run by hooks should be TestCase subclasses

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      TIG 2018-03-12

      Description

      When hooks run dynamic tests they handle the calls to report methods (startTest(), endTest(), etc.), the execution of the tests and error handling. Several hooks have implemented the same logic in similar but not identical ways.

      A subclass of TestCase specific to dynamic tests will be added to handle this logic. Each hook will then be updated to have their own TestCase implementations.

      To support these changes, the TestCase code that is specific to process based tests (i.e. _execute(), _make_process()) will be moved to a subclass.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yves.duhem Yves Duhem
              Reporter:
              yves.duhem Yves Duhem
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: