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

Split hooks.py and testcases.py modules into separate files

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.10
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-06-19, TIG 2017-07-10

      The hooks.py and testcases.py modules define a number of classes that don't have anything to do with each other except that they derive from the same base class. We should create packages for hooks/ and testcases/ to more easily organize the growing files.

      In addition to splitting the hooks.py and testcases.py modules into separate files, we should also make it possible to introduce a new CustomBehavior class or a new TestCase class without having to explicitly add it to the dictionary of known classes.

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: