Table of Contents

Interface ICodeGenTestCollectionFactory

Namespace
Xunit.v3
Assembly
xunit.v3.core.aot.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 at the assembly level. Classes which implement this interface must have a constructor that takes ICodeGenTestAssembly.

public interface ICodeGenTestCollectionFactory

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.