Table of Contents

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

File string

The source file, relative to the project root where that can be found.

BeginLine int

The line the test begins on (1-based; 0 when unknown).

ClassName string

The full name of the enclosing class.

Function string

The method's name.

Properties

BeginLine

The line the test begins on (1-based; 0 when unknown).

public int BeginLine { get; init; }

Property Value

int

ClassName

The full name of the enclosing class.

public string ClassName { get; init; }

Property Value

string

File

The source file, relative to the project root where that can be found.

public string File { get; init; }

Property Value

string

Function

The method's name.

public string Function { get; init; }

Property Value

string