Replace various print functions in test suite with var_dump()

XMLWordPrintableJSON

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

      The test suite's tools.php file includes various utility functions for printing objects. Many of these predated debug handlers for those objects, so we should replace these with var_dump(). Using var_dump() would also ensure that tests get updated if/when new fields are added to these objects.

      Suggested functions to replace:

      • printWriteResult
      • printWriteConcernError
      • printWriteError
      • getInsertCount
      • getModifiedCount
      • getDeletedCount
      • getUpsertedCount
      • getWriteErrors
      • printServer

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: