[SERVER-33961] Reorganize JavaScript test utility libraries for ease of use Created: 19/Jan/18  Updated: 06/Dec/22  Resolved: 11/May/20

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kyle Suarez Assignee: Backlog - Server Tooling and Methods (STM) (Inactive)
Resolution: Won't Fix Votes: 2
Labels: stm
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Tooling & Methods
Participants:

 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.



 Comments   
Comment by Ryan Timmons [ 11/May/20 ]

Closing as wont-fix to indicate that there is currently no intention of doing this. Please re-open if there is priority for this. Perhaps this change could self-service by an appropriate server team if this is necessary rather than having to go thru the STM prioritization queue.

Generated at Thu Feb 08 04:35:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.