Table of Contents

Method CreateTestCase

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

CreateTestCase(ITestFrameworkDiscoveryOptions, IXunitTestMethod, IFactAttribute)

Creates a single XunitTestCase for the given test method.

protected virtual IXunitTestCase CreateTestCase(ITestFrameworkDiscoveryOptions discoveryOptions, IXunitTestMethod testMethod, IFactAttribute factAttribute)

Parameters

discoveryOptions

The discovery options to be used.

testMethod

The test method.

factAttribute

The attribute that decorates the test method.

Returns