Class Xunit1TestCase
- Namespace
- Xunit.Runner.v1
- Assembly
- xunit.v3.runner.utility.netfx.dll
Contains the data required to serialize a test case for xUnit.net v1.
public sealed class Xunit1TestCase : IXunitSerializable
- Inheritance
-
Xunit1TestCase
- Implements
- Inherited Members
Constructors
- Xunit1TestCase()
Initializes a new instance of the Xunit1TestCase class.
Properties
- AssemblyUniqueID
Deserialization constructor.
- SkipReason
Gets the reason this test is being skipped; will return
null
when the test is not skipped.
- SourceFilePath
Gets the source file path of the test method, if known.
- SourceLineNumber
Gets the source line number of the test method, if known.
- TestCaseDisplayName
Gets the display name for the test case.
- TestCaseUniqueID
Gets the unique ID for the test case.
- TestClass
Gets the fully qualified type name of the test class.
- TestClassUniqueID
Gets the unique ID for the test class.
- TestCollectionUniqueID
Gets the unique ID of the test collection.
- TestMethod
Gets the name of the test method.
- TestMethodUniqueID
Gets the unique ID of the test method.
- Traits
Gets the traits that are associated with this test case.
Methods
- ToTestCaseDiscovered(bool)
Converts the test case to ITestCaseDiscovered, with optional serialization of the test case.
- ToTestCaseFinished(Xunit1RunSummary)
Converts the test case to ITestCaseFinished.
- ToTestCaseFinishedNotRun()
Converts the test case to ITestCaseFinished for a not-run test case.
- ToTestCaseStarting()
Converts the test case to ITestCaseStarting.
- ToTestFailed(decimal, string, XmlNode, int)
Converts the test case to ITestFailed.
- ToTestFinished(decimal, string, int)
Converts the test case to ITestFinished.
- ToTestFinishedNotRun(int)
Converts the test case to ITestFinished for a not-run test.
- ToTestMethodFinished(Xunit1RunSummary)
Converts the test case to ITestMethodFinished.
- ToTestMethodFinishedNotRun()
Converts the test case to ITestMethodFinished for a not-run test.
- ToTestMethodStarting()
Converts the test case to ITestMethodStarting.
- ToTestNotRun(int)
Converts the test case to ITestNotRun.
- ToTestOutput(string, int)
Converts the test case to ITestOutput.
- ToTestPassed(decimal, string, int)
Converts the test case to ITestPassed.
- ToTestSkipped(string, int)
Converts the test case to ITestSkipped.
- ToTestStarting(string, int)
Converts the test case to ITestStarting.