Table of Contents

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

id string

The ID of the result writer

resultWriter

The result writer

Remarks

The ID is used to construct the console command line option "-result-" and therefore must be unique.