Show / Hide Table of Contents

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

Namespace: Xunit.Sdk
Assembly: xunit.core.dll
Syntax
public interface IXunitTestCollectionFactory

Properties

| Improve this Doc View Source

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.

Declaration
string DisplayName { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

Get(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.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX