|
xUnit.net
|
Used to declare the default test collection behavior for the assembly. More...
Public Member Functions | |
| CollectionBehaviorAttribute () | |
| Initializes a new instance of the CollectionBehaviorAttribute class. More... | |
| CollectionBehaviorAttribute (CollectionBehavior collectionBehavior) | |
| Initializes a new instance of the CollectionBehaviorAttribute class. More... | |
| CollectionBehaviorAttribute (string factoryTypeName, string factoryAssemblyName) | |
| Initializes a new instance of the CollectionBehaviorAttribute class. More... | |
Properties | |
| bool | DisableTestParallelization [get, set] |
| Determines whether tests in this assembly are run in parallel. More... | |
| int | MaxParallelThreads [get, set] |
| Determines how many tests can run in parallel with each other. If set to 0, the system will use Environment.ProcessorCount. If set to a negative number, then there will be no limit to the number of threads. More... | |
Used to declare the default test collection behavior for the assembly.
|
inline |
Initializes a new instance of the CollectionBehaviorAttribute class.
|
inline |
Initializes a new instance of the CollectionBehaviorAttribute class.
| collectionBehavior | The collection behavior for the assembly. |
|
inline |
Initializes a new instance of the CollectionBehaviorAttribute class.
| factoryTypeName | The type name of the test collection factory (that implements T:Xunit.Sdk.IXunitTestCollectionFactory). |
| factoryAssemblyName | The assembly that factoryTypeName exists in. |
|
getset |
Determines whether tests in this assembly are run in parallel.
|
getset |
Determines how many tests can run in parallel with each other. If set to 0, the system will use Environment.ProcessorCount. If set to a negative number, then there will be no limit to the number of threads.
1.8.15