Show / Hide Table of Contents

Class TestFrameworkAttribute

Used to decorate an assembly to allow the use of a custom Xunit.Sdk.ITestFramework.

Inheritance
Object
TestFrameworkAttribute
Implements
ITestFrameworkAttribute
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public sealed class TestFrameworkAttribute : Attribute, ITestFrameworkAttribute

Constructors

| Improve this Doc View Source

TestFrameworkAttribute(String, String)

Initializes an instance of TestFrameworkAttribute.

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

The fully qualified type name of the test framework (f.e., 'Xunit.Sdk.XunitTestFramework')

String assemblyName

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

Implements

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