Table of Contents

Method ForTestCollection

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

ForTestCollection(string, string, string?)

Computes a unique ID for a test collection.

public static string ForTestCollection(string assemblyUniqueID, string collectionDisplayName, string? collectionDefinitionClassName)

Parameters

assemblyUniqueID string

The unique ID of the assembly the test collection lives in

collectionDisplayName string

The display name of the test collection

collectionDefinitionClassName string

The optional class name that contains the test collection definition

Returns

string

The computed unique ID for the test collection