Table of Contents

Method GetCollectionDefinitions

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

GetCollectionDefinitions(Assembly)

Gets the CollectionDefinitionAttributes that are attached to the test assembly. Verifies that there are no collection definitions with identical names.

public static IReadOnlyDictionary<string, (Type Type, CollectionDefinitionAttribute Attribute)> GetCollectionDefinitions(Assembly testAssembly)

Parameters

testAssembly Assembly

The test assembly

Returns

IReadOnlyDictionary<string, (Type Type, CollectionDefinitionAttribute Attribute)>