allure-js-commons
Version:
Allure JS Commons
21 lines (20 loc) • 917 B
TypeScript
import { AllureRuntime } from "./AllureRuntime.js";
import { ExecutableItemWrapper } from "./ExecutableItemWrapper.js";
import { ExecutableItem, MetadataMessage } from "./model.js";
export declare class AllureTest extends ExecutableItemWrapper {
private readonly runtime;
private readonly testResult;
private historyIdSetManually;
constructor(runtime: AllureRuntime, start?: number);
endTest(stop?: number): void;
get uuid(): string;
set historyId(id: string);
set fullName(fullName: string);
set testCaseId(testCaseId: string);
addLabel(name: string, value: string): void;
addLink(url: string, name?: string, type?: string): void;
addIssueLink(url: string, name: string): void;
addTmsLink(url: string, name: string): void;
calculateHistoryId(): void;
applyMetadata(metadata: Partial<MetadataMessage>, stepApplyFn?: (step: ExecutableItem) => void): void;
}