Table of Contents

Method Create

Namespace
Xunit
Assembly
xunit.v3.runner.common.dll

Create(string?)

Creates a source provider for the given test assembly.

public static ISourceInformationProvider Create(string? assemblyFileName)

Parameters

assemblyFileName string

The test assembly filename

Returns

Remarks

This may return an instance of NullSourceInformationProvider if source information collection is turned off, or if the provided assembly does not exist on disk.