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

Reorganize JavaScript test utility libraries for ease of use

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Testing Infrastructure

    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

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

            Dates

              Created:
              Updated:
              Resolved: