Show / Hide Table of Contents

Class CollectionAttribute

Used to declare a specific test collection for a test class.

Inheritance
Object
CollectionAttribute
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public sealed class CollectionAttribute : Attribute

Constructors

| Improve this Doc View Source

CollectionAttribute(String)

Initializes a new instance of the CollectionAttribute class.

Declaration
public CollectionAttribute(string name)
Parameters
Type Name Description
String name

The test collection name.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX