UNPKG

allure-js-commons

Version:
21 lines (20 loc) 892 B
import { ExecutableItem, MetadataMessage } from "../model"; import { AllureExecutable } from "./AllureExecutable"; import { AllureRuntime } from "./AllureRuntime"; export declare class AllureTest extends AllureExecutable { private readonly testResult; private historyIdSetManually; runtime: AllureRuntime; 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; }