Table of Contents

Property SkipReason

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

SkipReason

Gets the display text for the reason a test that might being skipped.

string? SkipReason { get; }

Property Value

string

Remarks

This differs from the contract of SkipReason by virtue of the fact that when this value is non-null, it may indicate that a test is statically skipped (if both SkipUnless and SkipWhen are null) or dynamically skipped (if one is non-null).