Skip to content

TestFilterCandidate

Namespace: E2E

public sealed record TestFilterCandidate : IEquatable<TestFilterCandidate>

One test a filter may leave out: what names it, never its body (upstream’s TestFilterCandidate).

Inheritance: object

Implements: IEquatable<TestFilterCandidate>

View source

TestFilterCandidate(string, string, IReadOnlyList<string>, IReadOnlyList<string>, string?)

Section titled “TestFilterCandidate(string, string, IReadOnlyList<string>, IReadOnlyList<string>, string?)”
public TestFilterCandidate(string Id, string File, IReadOnlyList<string> TitlePath, IReadOnlyList<string> Tags, string? SetupFile = null)

One test a filter may leave out: what names it, never its body (upstream’s TestFilterCandidate).

Parameters

Name Type Description
Id string Stable test id (<file>::<titles>), the report’s testId, and the key Exclude takes.
File string Project-relative POSIX path of the test file.
TitlePath IReadOnlyList<string> The describe titles, then the test title.
Tags IReadOnlyList<string> The describe chain’s tags, outermost first, then the test’s own.
SetupFile string Project-relative POSIX path of the setup test file that saves the test’s session; null when the test uses none.

View source

public string File { get; init; }

Project-relative POSIX path of the test file.

Value: string

View source

public string Id { get; init; }

Stable test id (<file>::<titles>), the report’s testId, and the key Exclude takes.

Value: string

View source

public string? SetupFile { get; init; }

Project-relative POSIX path of the setup test file that saves the test’s session; null when the test uses none.

Value: string

View source

public IReadOnlyList<string> Tags { get; init; }

The describe chain’s tags, outermost first, then the test’s own.

Value: IReadOnlyList<string>

View source

public IReadOnlyList<string> TitlePath { get; init; }

The describe titles, then the test title.

Value: IReadOnlyList<string>

View source