Interface IProtoApplicationSkipCondition

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

A skip condition whose answer depends on the application the test selected with ApplicationAttribute. The runner resolves that selection from the same attribute set it is about to run and passes the application name here, so a condition that targets an application can skip honestly in a run where another application is live. A condition that ignores the selection implements IProtoSkipCondition only.

public interface IProtoApplicationSkipCondition : IProtoSkipCondition
Inherited Members
Extension Methods

Methods

GetSkipReason(ProtoHost, string?)

Returns the reason to skip for the selected application (or null when the test selected none), or null when the test can run.

string? GetSkipReason(ProtoHost host, string? applicationName)

Parameters

host ProtoHost
applicationName string

Returns

string