1 |
|
2 | import { PathLike } from "fs";
|
3 | import { AllureConfig } from "./AllureConfig";
|
4 | import { AllureGroup } from "./AllureGroup";
|
5 | import { AttachmentOptions, Category, ContentType, TestResult, TestResultContainer } from "./model";
|
6 | export declare class AllureRuntime {
|
7 | private config;
|
8 | private writer;
|
9 | constructor(config: AllureConfig);
|
10 | startGroup(name?: string): AllureGroup;
|
11 | writeResult(result: TestResult): void;
|
12 | writeGroup(result: TestResultContainer): void;
|
13 | writeAttachment(content: Buffer | string, options: ContentType | string | AttachmentOptions): string;
|
14 | writeAttachmentFromPath(filePath: PathLike, options: ContentType | string | AttachmentOptions): string;
|
15 | writeEnvironmentInfo(info?: Record<string, string>): void;
|
16 | writeCategoriesDefinitions(categories: Category[]): void;
|
17 | }
|