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.
Remaining issues
* GitHub action: how to replace GitHubActionsTestLogger? See microsoft/testfx#4365
* HTML logger: could not find an equivalent for Microsoft.Testing.Platform
* Stryker: currently not supported for Microsoft.Testing.Platform, see stryker-mutator/stryker-net#3094
0xced
added a commit
to serilog-contrib/serilog-formatting-log4net
that referenced
this issue
Dec 21, 2024
Remaining issues
* GitHub action: how to replace GitHubActionsTestLogger? See microsoft/testfx#4365
* HTML logger: could not find an equivalent for Microsoft.Testing.Platform
* Stryker: currently not supported for Microsoft.Testing.Platform, see stryker-mutator/stryker-net#3094
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: