Move some repeated query shape test code into a shared place

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Came up during development of SERVER-83531. We have a couple unit tests of DocumentSources which serialize themselves - and lots of them repeat the code to call the public serializeToArray method and then assert there is 1 stage.

      Also there are a growing number of tests that use the serialization options - might be nice to have shorter or more concise ways to do that.

              Assignee:
              [DO NOT USE] Backlog - Query Integration
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: