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