Table of Contents

Method SetTestContext

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

SetTestContext(TContext, TestEngineStatus)

Sets the current TestContext for the current test collection and the given test collection status.

protected virtual void SetTestContext(TContext ctxt, TestEngineStatus testCollectionStatus)

Parameters

ctxt TContext

The context that describes the current test collection

testCollectionStatus

The current test collection status.