Class XunitProjectAssembly
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.dll
Represents an assembly in an XunitProject.
public class XunitProjectAssembly
- Inheritance
-
XunitProjectAssembly
- Inherited Members
Constructors
- XunitProjectAssembly(XunitProject, string, AssemblyMetadata)
Initializes a new instance of the XunitProjectAssembly class
Properties
- Assembly
Gets or sets the assembly under test. May be
nullwhen the test assembly is not loaded into the current AppDomain.
- AssemblyDisplayName
Gets the assembly display name.
- AssemblyFileName
Gets or sets the assembly file name.
- AssemblyMetadata
Gets or sets the metadata about the assembly.
- ConfigFileName
Gets or sets the config file name.
- Configuration
Gets the configuration values for the test assembly.
- Identifier
Gets an identifier for the current assembly. This is guaranteed to be unique, but not necessarily repeatable across runs (because it relies on GetHashCode()).
- Project
Gets the project that this project assembly belongs to.
- TestCasesToRun
Gets a list of serialized test cases to be run. If the list is empty, then all test cases (that match the filters) will be run.
Methods
- WithSettings(FrontControllerFindAndRunSettings)
Create an instance of XunitProjectAssembly populated by front controller settings.
- WithSettings(FrontControllerFindSettings)
Create an instance of XunitProjectAssembly populated by front controller settings.
- WithSettings(FrontControllerRunSettings)
Create an instance of XunitProjectAssembly populated by front controller settings.