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.
- is related to
-
SERVER-10471 develop query planner
- Closed