Table of Contents

Property SkipReason

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

SkipReason

Gets the display text for the reason a test is being skipped; if the test is not statically skipped, returns null. (A test may be dynamically skipped at runtime while still returning null.)

public required string? SkipReason { get; set; }

Property Value

string

Remarks

Note: Will be null if there was no value provided during deserialization.