xUnit.net
Public Member Functions | Properties | List of all members
Xunit.Sdk.IXunitTestCollectionFactory Interface Reference

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 ITestAssembly and IMessageSink. More...

Public Member Functions

ITestCollection Get (ITypeInfo testClass)
 Gets the test collection for a given test class. More...
 

Properties

string DisplayName [get]
 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. More...
 

Detailed Description

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 ITestAssembly and IMessageSink.

Member Function Documentation

◆ Get()

ITestCollection Xunit.Sdk.IXunitTestCollectionFactory.Get ( ITypeInfo  testClass)

Gets the test collection for a given test class.

Parameters
testClassThe test class.
Returns
The test collection.

Property Documentation

◆ DisplayName

string Xunit.Sdk.IXunitTestCollectionFactory.DisplayName
get

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.


The documentation for this interface was generated from the following file: