Improve EnhancedReporter output

XMLWordPrintableJSON

    • Server Programmability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      • Source file is output 2+ times for each test failure
        • One for the file header for a test failure (shows line of test)
        • One for each failure (shows line of failed assert)

       

      ============================================================
      src/mongo/bson/bson_obj_test.cpp:777
         TEST SUITE: BSONObj
          TEST CASE: sizeCheckssrc/mongo/bson/bson_obj_test.cpp:792:
      FAIL: Value of: false
        Actual: false
      ... 

       

      • We should see the tests that have been run. Although this contributes to visual clutter, I think this would give the developer peace of mind that the test they hope to run is actually being run. We can have a minimized format to show the tests run in a compact manner.
      • --showEachTest view is worse than GoogleTest normal output. We output each test suite several different times for every test, and the output for each test takes up a lot of space. We should default to something similar to GoogleTest (or the same) where the separation of suites and tests are obvious, and also doesn't take up too many lines.

       

            Assignee:
            Alex Li
            Reporter:
            Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: