Interface IXunitTestCollectionFactory
This interface is intended to be implemented by components which generate test collections.
End users specify the desired test collection factory by applying CollectionBehaviorAttribute
at the assembly level. Classes which implement this interface must have a constructor
that takes
Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public interface IXunitTestCollectionFactory
Properties
| Improve this Doc View SourceDisplayName
Gets the display name for the test collection factory. This information is shown to the end user as part of the description of the test environment.
Declaration
string DisplayName { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceGet(ITypeInfo)
Gets the test collection for a given test class.
Declaration
ITestCollection Get(ITypeInfo testClass)
Parameters
Type | Name | Description |
---|---|---|
ITypeInfo | testClass | The test class. |
Returns
Type | Description |
---|---|
ITestCollection | The test collection. |