Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80144

Add custom messages to unit test assertions.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      So it would be possible to make test error messages more informative, something like

      ASSERT_TRUE(matchExpr1->equivalent(*matchExpr2)) << "MatcxhExpression 1: " << matchExpr1->debugString() << ", MatchExpression 2: " << matchExpr2->debugString();
      

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: