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