Class XunitProjectAssembly
Represents an assembly in an XunitProject.
public class XunitProjectAssembly
- Inheritance
-
XunitProjectAssembly
- Inherited Members
Constructors
XunitProjectAssembly(XunitProject, string, AssemblyMetadata)
Represents an assembly in an XunitProject.
public XunitProjectAssembly(XunitProject project, string assemblyFileName, AssemblyMetadata assemblyMetadata)
Parameters
projectXunitProjectThe project this assembly belongs to.
assemblyFileNamestringThe assembly filename
assemblyMetadataAssemblyMetadataThe assembly metadata
Properties
Assembly
Gets or sets the assembly under test. May be null when the test assembly is not
loaded into the current AppDomain.
public Assembly? Assembly { get; set; }
Property Value
AssemblyDisplayName
Gets the assembly display name.
public string AssemblyDisplayName { get; }
Property Value
AssemblyFileName
Gets or sets the assembly file name.
public string AssemblyFileName { get; set; }
Property Value
AssemblyMetadata
Gets or sets the metadata about the assembly.
public AssemblyMetadata AssemblyMetadata { get; set; }
Property Value
ConfigFileName
Gets or sets the config file name.
public string? ConfigFileName { get; set; }
Property Value
Configuration
Gets the configuration values for the test assembly.
public TestAssemblyConfiguration Configuration { get; }
Property Value
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()).
public string Identifier { get; }
Property Value
Project
Gets the project that this project assembly belongs to.
public XunitProject Project { get; }
Property Value
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.
public List<string> TestCasesToRun { get; }