Method RegisterMicrosoftTestingPlatformResultWriter
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.aot.dll
RegisterMicrosoftTestingPlatformResultWriter(string, IMicrosoftTestingPlatformResultWriter)
Adds a Microsoft Testing Platform result writer registration.
public static void RegisterMicrosoftTestingPlatformResultWriter(string id, IMicrosoftTestingPlatformResultWriter resultWriter)
Parameters
idstringThe ID of the result writer
resultWriterThe result writer
Remarks
The ID is used to construct the MTP command line options "--xunit-result-" and
"--xunit-result--filename", and therefore must be unique.