Table of Contents

Class XunitTestCaseRunnerBaseContext<TTestCase, TTest>

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll
public class XunitTestCaseRunnerBaseContext<TTestCase, TTest> : TestCaseRunnerContext<TTestCase, TTest>, IAsyncLifetime, IAsyncDisposable where TTestCase : class, IXunitTestCase where TTest : class, IXunitTest

Type Parameters

TTestCase
TTest
Inheritance
TestCaseRunnerContext<TTestCase, TTest>
XunitTestCaseRunnerBaseContext<TTestCase, TTest>
Implements
Derived
Inherited Members
TestCaseRunnerContext<TTestCase, TTest>.Tests
TestCaseRunnerBaseContext<TTestCase>.TestCase

Constructors

XunitTestCaseRunnerBaseContext(TTestCase, IReadOnlyCollection<TTest>, IMessageBus, ExceptionAggregator, CancellationTokenSource, string, string?, ExplicitOption, object?[])

Context class for XunitTestCaseRunnerBase<TContext, TTestCase, TTest>.

Properties

BeforeAfterTestAttributes

Gets the list of IBeforeAfterTestAttribute instances for this test case.

ConstructorArguments

Gets the arguments to pass to the constructor of the test class when creating it.

DisplayName

Gets the display name of the test case.

SkipReason

Gets the statically specified skip reason for the test. Note that this only covers values passed via Skip, and not dynamically skipped tests.

Tests

Gets the tests for the given test case.