Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2385

Improve unified test driver error reporting

    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      The unified test driver could do a better job attaching more information to error messages, enabling developers to much more quickly resolve some issues.

      For example, in "mongocxx/test/spec/unified_tests/runner.cpp", run_unified_format_tests_in_env_dir() uses CAPTURE() and REQUIRE() as error reporting facilities. This does not provide information about what the error condition /was doing/: looking up an enviornment variable? Trying to find a test_files.txt file? Attaching even a small amount of further information to the thrown exceptions (used by Catch2) would really help.

      This ticket is meant to represent incremental improvement, not a final or complete list of projects.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse.williamson@mongodb.com Jesse Williamson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None