Table of Contents

Class TestContextExtensions

Namespace
Xunit
Assembly
xunit.v3.core.dll

Extension methods for ITestContext.

public static class TestContextExtensions
Inheritance
TestContextExtensions
Inherited Members

Methods

GetFixture<TFixture>(ITestContext)

Gets a fixture that was attached to the test class. Will return null if there is no exact match for the requested fixture type, or if there is no test class (that is, if TestClass returns null).