Table of Contents

Property CollectionDefinition

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

CollectionDefinition

Gets the type that this collection definition derived from, if it derives from one. Untyped collections are possible when test classes are decorated using CollectionAttribute(string) and there is no test collection class declared with the same name.

Type? CollectionDefinition { get; }

Property Value

Type

Remarks

This should only be used to execute a test collection. All reflection should be abstracted here instead for better testability.