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

[CQF] Print diff from ASSERT_AUTO_* macros in color

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Query Optimization

    Description

      If the ASSERT_AUTO_* macros printed their diff using colors, it would make parsing the diff in the terminal much easier. Mainly, lines with "+" could be printed in green and lines with "-" could be printed in red.

      We should be able to achieve this using ANSI escape codes to control the color.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: