[CSHARP-4072] Print all driver events if test failed Created: 21/Feb/22  Updated: 12/Jul/22

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

Type: Improvement Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve Testing

 Description   

It will be helpful during investigating test failures, especially for flaky tests, if we will always know which events were triggered by the driver regardless these events were required by the test itself or no. I've initially implemented this logic in this branch via adding additional EventCapturer on LoggableTestClass level and then always configuring this eventSubscriber as additional event capturer on the DriverTestConfiguration level. So as long as the test has been failed, we will see all triggered driver logs in the format similar to described here. See "Enumerating events". The final events format is open question for now.


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