[CSHARP-4422] Custom xunit test cases discoverer for unified format tests Created: 18/Nov/22  Updated: 16/Aug/23  Resolved: 16/Aug/23

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.22.0

Type: Task Priority: Unknown
Reporter: Boris Dogadov Assignee: Boris Dogadov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CSHARP-4421 Unify all spec tests in single test p... Closed
Documentation Changes: Not Needed
Documentation Changes Summary:

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?


 Description   

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.



 Comments   
Comment by Githook User [ 16/Aug/23 ]

Author:

{'name': 'BorisDog', 'email': 'BorisDog@users.noreply.github.com', 'username': 'BorisDog'}

Message: CSHARP-4422: Custom xunit test cases discoverer for unified format tests (#987)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/f564452db2a6b0c6b8c59d2b66cbe65a15da3a02

Generated at Wed Feb 07 21:48:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.