Table of Contents

Interface IXunitTestCollectionFactory

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

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.

Methods

Get(Type)

Gets the test collection for a given test class.