Mid Testing

How do you skip or ignore tests in xUnit?

Use the Skip property on [Fact] or [Theory]:

[Fact(Skip = "Reason for skipping")]

public void SkippedTest() { }

More from C# Programming Tutorial

All questions for this course