Table of Contents

Class AppVeyorReporter

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

An implementation of IRunnerReporter that reports results to AppVeyor. This is auto-enabled by the presence of the "APPVEYOR_API_URL" environment variable, which points to the AppVeyor API endpoint that is used to report tests. It has no switch for manual enablement, since the API endpoint is required.

public class AppVeyorReporter : IRunnerReporter
Inheritance
AppVeyorReporter
Implements
Inherited Members

Properties

CanBeEnvironmentallyEnabled

Gets a value which indicates if it's possible for this reporter to be environmentally enabled.

Description

Gets the description of the reporter. This is typically used when showing the user the invocation option for the reporter.

ForceNoLogo

Gets a value which indicates whether this runner wishes to force no logo. Useful for runners which are designed for purely parseable output (for example, JsonReporter).

IsEnvironmentallyEnabled

Gets a value which indicates whether the reporter should be environmentally enabled.

RunnerSwitch

Gets a value which indicates a runner switch which can be used to explicitly enable the runner. If the return value is null, then the reported can only be environmentally enabled (implicitly). This value is used either as a command line switch (with the console or .NET CLI runner) or as a runner configuration value (with the MSBuild runner).

Methods

CreateMessageHandler(IRunnerLogger, IMessageSink?)

Creates a message handler that will report messages for the given test assembly.