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

Reorganize JavaScript test utility libraries for ease of use

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
    • Server Tooling & Methods

      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.

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

              Created:
              Updated:
              Resolved: