Show / Hide Table of Contents

Class XunitTestCaseDiscovererAttribute

An attribute used to decorate classes which derive from FactAttribute, to indicate how test cases should be discovered.

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

Constructors

| Improve this Doc View Source

XunitTestCaseDiscovererAttribute(String, String)

Initializes an instance of the XunitTestCaseDiscovererAttribute class.

Declaration
public XunitTestCaseDiscovererAttribute(string typeName, string assemblyName)
Parameters
Type Name Description
String typeName

The fully qualified type name of the discoverer (f.e., 'Xunit.Sdk.FactDiscoverer')

String assemblyName

The name of the assembly that the discoverer type is located in, without file extension (f.e., 'xunit.execution')

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