Table of Contents

Interface ITestMethod

Namespace
Xunit.Sdk

Represents a test method, which contributes one or more test cases.

public interface ITestMethod : ITestMethodMetadata
Inherited Members
Extension Methods

Remarks

Not all test frameworks will require that tests come from methods, so this abstraction may or many not be used.

Properties

TestClass

Gets the test class that this test method belongs to.

ITestClass TestClass { get; }

Property Value

ITestClass