Table of Contents

Class XunitProject

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

Represents a project which contains zero or more test assemblies, as well as global (cross-assembly) configuration settings.

public class XunitProject
Inheritance
XunitProject
Inherited Members

Properties

Assemblies

Gets the assemblies that are in the project.

public ICollection<XunitProjectAssembly> Assemblies { get; }

Property Value

ICollection<XunitProjectAssembly>

Configuration

Gets the configuration values for the test project.

public TestProjectConfiguration Configuration { get; }

Property Value

TestProjectConfiguration

HasRunnerReporter

Gets a flag indicating whether RunnerReporter has been set yet or not.

public bool HasRunnerReporter { get; }

Property Value

bool

RunnerReporter

Gets or sets the runner reporter.

public IRunnerReporter RunnerReporter { get; set; }

Property Value

IRunnerReporter

Methods

Add(XunitProjectAssembly)

Adds an assembly to the project.

public void Add(XunitProjectAssembly assembly)

Parameters

assembly XunitProjectAssembly

The assembly to add to the project.