xUnit.net
Public Member Functions | Properties | List of all members
Xunit.CollectionDefinitionAttribute Class Reference

Used to declare a test collection container class. The container class gives developers a place to attach interfaces like IClassFixture<T> and ICollectionFixture<T> that will be applied to all tests classes that are members of the test collection. More...

Inheritance diagram for Xunit.CollectionDefinitionAttribute:

Public Member Functions

 CollectionDefinitionAttribute (string name)
 Initializes a new instance of the CollectionDefinitionAttribute class. More...
 

Properties

bool DisableParallelization [get, set]
 Determines whether tests in this collection runs in parallel with any other collections. More...
 

Detailed Description

Used to declare a test collection container class. The container class gives developers a place to attach interfaces like IClassFixture<T> and ICollectionFixture<T> that will be applied to all tests classes that are members of the test collection.

Constructor & Destructor Documentation

◆ CollectionDefinitionAttribute()

Xunit.CollectionDefinitionAttribute.CollectionDefinitionAttribute ( string  name)
inline

Initializes a new instance of the CollectionDefinitionAttribute class.

Parameters
nameThe test collection name.

Property Documentation

◆ DisableParallelization

bool Xunit.CollectionDefinitionAttribute.DisableParallelization
getset

Determines whether tests in this collection runs in parallel with any other collections.


The documentation for this class was generated from the following file: