UNPKG

917 BTypeScriptView Raw
1import { AllureRuntime } from "./AllureRuntime.js";
2import { ExecutableItemWrapper } from "./ExecutableItemWrapper.js";
3import { ExecutableItem, MetadataMessage } from "./model.js";
4export declare class AllureTest extends ExecutableItemWrapper {
5 private readonly runtime;
6 private readonly testResult;
7 private historyIdSetManually;
8 constructor(runtime: AllureRuntime, start?: number);
9 endTest(stop?: number): void;
10 get uuid(): string;
11 set historyId(id: string);
12 set fullName(fullName: string);
13 set testCaseId(testCaseId: string);
14 addLabel(name: string, value: string): void;
15 addLink(url: string, name?: string, type?: string): void;
16 addIssueLink(url: string, name: string): void;
17 addTmsLink(url: string, name: string): void;
18 calculateHistoryId(): void;
19 applyMetadata(metadata: Partial<MetadataMessage>, stepApplyFn?: (step: ExecutableItem) => void): void;
20}