Table of Contents

Class ConfigReader

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

This class is used to read configuration information for a test assembly.

public static class ConfigReader
Inheritance
ConfigReader
Inherited Members

Methods

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 TestAssemblyConfiguration

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.