Table of Contents

Class XunitRunnerHelper

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

Helper functions for xUnit.net v3 runners.

public static class XunitRunnerHelper
Inheritance
XunitRunnerHelper
Inherited Members

Methods

FailTest(IMessageBus, CancellationTokenSource, ITest, Exception)

Fail a test with the given exception.

FailTestCases(IMessageBus, CancellationTokenSource, IReadOnlyCollection<ITestCase>, Exception, bool, bool, bool, bool, bool)

Fail a set of test cases with the given exception.

FailTestCases(IMessageBus, CancellationTokenSource, IReadOnlyCollection<ITestCase>, string, bool, bool, bool, bool, bool)

Fail a set of test cases with the given message.

RunXunitTestCase(IXunitTestCase, IMessageBus, CancellationTokenSource, ExceptionAggregator, ExplicitOption, object?[])

Runs a single test case (which implements IXunitTestCase) using the XunitTestCaseRunner after enumerating all tests.

SkipTestCases(IMessageBus, CancellationTokenSource, IReadOnlyCollection<ITestCase>, string, bool, bool, bool, bool, bool)

Skips a set of test cases with the given skip reason.