Table of Contents

Interface ICollectionAttribute

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

Used to declare a specific test collection for a test class. Only valid on test classes, and only a single instance of a collection attribute may be present.

public interface ICollectionAttribute

Properties

Name

Gets the name of the collection.

string Name { get; }

Property Value

string

Type

Gets the collection definition type. Returns null if the collection is purely based on name.

Type? Type { get; }

Property Value

Type