Interface ITestCase
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.common.dll
Represents a single test case in the system. This test case usually represents a single test, but in the case of dynamically generated data for data driven tests, the test case may actually return multiple results when run.
public interface ITestCase : ITestCaseMetadata
- Inherited Members
Properties
- TestClass
Gets the test class that this test case belongs to; may be
nullif the test isn't backed by a class, but will not benullif TestMethod is notnull(and must be the same instance returned via TestMethod).
- TestCollection
Gets the test collection this test case belongs to. Must be the same instance returned via TestMethod and/or TestClass when they are not
null.
- TestMethod
Gets the test method this test case belongs to; may be
nullif the test isn't backed by a method.