Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4422

Custom xunit test cases discoverer for unified format tests

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 2.22.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • 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?

      Our unified runners contain duplicated, boilerplate code for specifying JSON file locations and iterating test cases. This duplication can be eliminated by moving all unified specs to a common location (CSHARP-4421) and updating the unified runner to work with any JSON file in the common location (this ticket).

      We will also be able to enhance the unified runner to jump from a failure in test explorer to the JSON test rather than the failing line of C# code in the unified runner. This will make it easier for developers to troubleshoot failing scenarios as we can quickly examine the failing test case rather than parsing the file location and test name from the test case. This also makes spec tests navigation easier for non-failed test cases.

            Assignee:
            boris.dogadov@mongodb.com Boris Dogadov
            Reporter:
            boris.dogadov@mongodb.com Boris Dogadov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: