Class TestLocation
- Namespace
- Hegel
- Assembly
- Hegel.dll
Where a test is defined, as reported to the engine (and through it to Antithesis): the source file, the line it begins on, the enclosing class and the method.
public sealed record TestLocation : IEquatable<TestLocation>
- Inheritance
-
TestLocation
- Implements
- Inherited Members
Constructors
TestLocation(string, int, string, string)
Where a test is defined, as reported to the engine (and through it to Antithesis): the source file, the line it begins on, the enclosing class and the method.
public TestLocation(string File, int BeginLine, string ClassName, string Function)
Parameters
FilestringThe source file, relative to the project root where that can be found.
BeginLineintThe line the test begins on (1-based; 0 when unknown).
ClassNamestringThe full name of the enclosing class.
FunctionstringThe method's name.
Properties
BeginLine
The line the test begins on (1-based; 0 when unknown).
public int BeginLine { get; init; }
Property Value
ClassName
The full name of the enclosing class.
public string ClassName { get; init; }
Property Value
File
The source file, relative to the project root where that can be found.
public string File { get; init; }
Property Value
Function
The method's name.
public string Function { get; init; }