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

Improve unified test driver error reporting

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: 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: