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

Reorganize JavaScript test utility libraries for ease of use

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:

      Description

      During one of the code reviews for SERVER-31785, we noticed that there are now many generally-useful helper functions scattered across many different helper files in various subdirectories:

      • arrayEq() is in aggregation/extras/utils.js
      • node type introspection helpers in concurrency/fsm_workload_helpers/server_types.js
      • FixtureHelpers
      • ...

      It would be nice if we could reorganize our helper functions and put the general purpose ones in a single place so that people can find them easily and not realize they have to reinvent the wheel. The suite-specific helper directories should stay, but they should contain helpers that are useful for that particular suite only.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM)
            Reporter:
            kyle.suarez Kyle Suarez
            Participants:
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: