Table of Contents

Method GetFixture

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

GetFixture(Type)

Get a value for the given fixture type. If the fixture type is unknown, then returns null.

public ValueTask<object?> GetFixture(Type fixtureType)

Parameters

fixtureType Type

The type of the fixture

Returns

ValueTask<object>

Returns the value if the fixture type is found, or null if it's not.