Table of Contents

Constructor XunitTestCollection

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

XunitTestCollection()

Called by the de-serializer; should only be called by deriving classes for de-serialization purposes

[Obsolete("Called by the de-serializer; should only be called by deriving classes for de-serialization purposes")]
public XunitTestCollection()

XunitTestCollection(IXunitTestAssembly, Type?, bool, string, string?)

Initializes a new instance of the XunitTestCollection class.

public XunitTestCollection(IXunitTestAssembly testAssembly, Type? collectionDefinition, bool disableParallelization, string displayName, string? uniqueID = null)

Parameters

testAssembly

The test assembly the collection belongs to

collectionDefinition Type

The optional type which contains the collection definition

disableParallelization bool

A flag to indicate whether this test collection opts out of parallelization

displayName string

The display name for the test collection

uniqueID string

The unique ID for the test collection (only used to override default behavior in testing scenarios)