Table of Contents

Class TestFrameworkAttribute

Namespace
Xunit
Assembly
xunit.v3.core.dll

Used to decorate an assembly to allow the use of a custom test framework.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class TestFrameworkAttribute : Attribute, ITestFrameworkAttribute
Inheritance
TestFrameworkAttribute
Implements
Inherited Members

Constructors

TestFrameworkAttribute(Type)

Used to decorate an assembly to allow the use of a custom test framework.

public TestFrameworkAttribute(Type frameworkType)

Parameters

frameworkType Type

The framework type; must implement ITestFramework

Properties

FrameworkType

Gets the framework type; must implement ITestFramework.

public Type FrameworkType { get; }

Property Value

Type