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
testAssemblyThe test assembly the collection belongs to
collectionDefinitionTypeThe optional type which contains the collection definition
disableParallelizationboolA flag to indicate whether this test collection opts out of parallelization
displayNamestringThe display name for the test collection
uniqueIDstringThe unique ID for the test collection (only used to override default behavior in testing scenarios)