Class TestFrameworkAttribute
Used to decorate an assembly to allow the use of a custom Xunit.Sdk.ITestFramework.
Implements
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public sealed class TestFrameworkAttribute : Attribute, ITestFrameworkAttribute
Constructors
| Improve this Doc View SourceTestFrameworkAttribute(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') |