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

Leverage Feature Flag Information for Self-Testable-Installs

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None
    • Server Development Platform

      For testing of functionality behind feature flags, we currently rely on a script to generate the list of all feature flags, turn all of them on, then run all tests with those feature flags. While this does provide sufficient test coverage, it is also quite inefficient, especially as we are also running the same set of tests without any feature flags.

      It would be really nice to map a certain code change to affected feature flags.

      Shorter term, we can generate a list of feature flags that have definitively not been modified so we don't have to run any tests against them.

      Longer term, it would be nice to enforce mapping of tests to either feature flags and/or some other basic unit of functionality in the Server codebase so that a direct dependency chart of JS tests and C++ code changes can be drawn.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            robert.guo@mongodb.com Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: