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>
Constructors
Section titled “Constructors”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. |
Properties
Section titled “Properties”public string File { get; init; }Project-relative POSIX path of the test file.
Value: string
public string Id { get; init; }Stable test id (<file>::<titles>), the report’s testId, and the key Exclude takes.
Value: string
SetupFile
Section titled “SetupFile”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
public IReadOnlyList<string> Tags { get; init; }The describe chain’s tags, outermost first, then the test’s own.
Value: IReadOnlyList<string>
TitlePath
Section titled “TitlePath”public IReadOnlyList<string> TitlePath { get; init; }The describe titles, then the test title.
Value: IReadOnlyList<string>