Table of Contents

Method Load

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.utility.netfx.dll

Load(TestAssemblyConfiguration, string?, string?, List<string>?)

Loads the test assembly configuration for the given test assembly.

public static bool Load(TestAssemblyConfiguration configuration, string? assemblyFileName, string? configFileName = null, List<string>? warnings = null)

Parameters

configuration

The configuration object to write the values to.

assemblyFileName string

The test assembly.

configFileName string

The test assembly configuration file.

warnings List<string>

A container to receive loading warnings, if desired.

Returns

bool

A flag which indicates whether configuration values were read.