Table of Contents

Class TestCollectionFactoryBase

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll
public abstract class TestCollectionFactoryBase : IXunitTestCollectionFactory
Inheritance
TestCollectionFactoryBase
Implements
Derived
Inherited Members

Constructors

TestCollectionFactoryBase(IXunitTestAssembly)

Base class with common functionality between CollectionPerAssemblyTestCollectionFactory and CollectionPerClassTestCollectionFactory.

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.

TestAssembly

Gets the test assembly.

Methods

Get(Type)

Gets the test collection for a given test class.

GetDefaultTestCollection(Type)

Override to provide a test collection when the given test class is not decorated with any test collection attributes.