Table of Contents

Method Skip

Namespace
Xunit
Assembly
xunit.v3.assert.dll

Skip(string)

Skips the current test. Used when determining whether a test should be skipped happens at runtime rather than at discovery time.

public static void Skip(string reason)

Parameters

reason string

The message to indicate why the test was skipped