You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I correctly understand what you need, I think what you need builder.TestHost.AddTestSessionLifetimeHandle(new YourExtension());
This will notify you when the test session ended. In addition, you can also implement IDataConsumer (and use builder.TestHost.AddDataConsumer) to get information on tests while they run so that you can accumulate this information at the end when you get the OnTestSessionFinishingAsync callback.
This page shows what microsoft extensions are currently available: https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-extensions
But I cannot find a how-to on writing my own.
For example, I don't even know if this is possible with extensions, but I'd like to:
The text was updated successfully, but these errors were encountered: