Table of Contents

Class XunitTestCaseDiscovererAttribute

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

An attribute used to decorate classes which implement IFactAttribute, to indicate how test cases should be discovered.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class XunitTestCaseDiscovererAttribute : Attribute
Inheritance
XunitTestCaseDiscovererAttribute
Inherited Members

Constructors

XunitTestCaseDiscovererAttribute(Type)

An attribute used to decorate classes which implement IFactAttribute, to indicate how test cases should be discovered.

public XunitTestCaseDiscovererAttribute(Type type)

Parameters

type Type

The type of the discoverer; must implement IXunitTestCaseDiscoverer.

Properties

Type

Gets the type of the test case discoverer.

public Type Type { get; }

Property Value

Type