Enum CollectionBehavior
Defines the built-in behavior types for collections in xUnit.net.
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public enum CollectionBehavior : int
Fields
Name | Description |
---|---|
CollectionPerAssembly | By default, generates a collection per assembly, and any test classes that are not decorated with CollectionAttribute will be placed into the assembly-level collection. |
CollectionPerClass | By default, generates a collection per test class for any test classes that are not decorated with CollectionAttribute. |