Print all driver events if test failed

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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

      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.

            Assignee:
            Unassigned
            Reporter:
            Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: