improve query planner test

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Minor - P4
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      db/query/query_planner_test.cpp currently uses a function called dumpSolutions() to display the list of generated query plans. It does not have assertions to automatically verify that the expected solutions were in fact generated by the query planner. We would like to better automate this test.

      We want to be able to assert that a particular solution was generated by the planner. This could look something like an "expectSolution()" function which takes a textual representation of a QuerySolution and confirms that this solution was in fact generated by the planner.

            Assignee:
            David Storch
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: