Table of Contents

Class RegisterRunnerReporterAttribute

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

Used to decorate xUnit.net test assemblies to indicate the availability of a custom runner reporter.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public sealed class RegisterRunnerReporterAttribute : Attribute, IRegisterRunnerReporterAttribute
Inheritance
RegisterRunnerReporterAttribute
Implements
Inherited Members

Constructors

RegisterRunnerReporterAttribute(Type)

Used to decorate xUnit.net test assemblies to indicate the availability of a custom runner reporter.

public RegisterRunnerReporterAttribute(Type runnerReporterType)

Parameters

runnerReporterType Type

The type of the runner reporter to register. The type must implement IRunnerReporter.

Properties

RunnerReporterType

Gets the type of the runner reporter to be registered.

public Type RunnerReporterType { get; }

Property Value

Type

Remarks

The runner reporter type must implement IRunnerReporter.