Interface IProtoSkipCondition

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

A condition that can stop a test before its lifecycle starts, with a reason the runner can report. Adapters evaluate these before starting the test; a runner that does not evaluate them simply runs the test, so the contract stays opt-in.

public interface IProtoSkipCondition
Extension Methods

Methods

GetSkipReason(ProtoHost)

Returns the reason to skip, or null when the test can run.

string? GetSkipReason(ProtoHost host)

Parameters

host ProtoHost

Returns

string