Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1144

Add unit tests on Explainable::getCommandDocument() implementations

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.16.0
    • Affects Version/s: None
    • Component/s: Tests
    • None

      The Explainable::getCommandDocument() is used by the explain operation to get a transformed version of the command to explain. The ExplainFunctionalTest ensure the explain commands are accepted and executed by the server, but that does not guarantee that all the options are correctly formatted and sent to the server.

      This issue is to create unit tests on each implementation of Explainable::getCommandDocument() to validate the generated command.

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: