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 (or any attribute that implements ICollectionBehaviorAttribute) at the assembly level. Classes which implement this interface must have a constructor that takes IXunitTestAssembly.
public interface IXunitTestCollectionFactory
Properties
DisplayName
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.
string DisplayName { get; }
Property Value
Methods
Get(Type)
Gets the test collection for a given test class.
IXunitTestCollection Get(Type testClass)
Parameters
testClassTypeThe test class.
Returns
- IXunitTestCollection
The test collection.