1 |
|
2 |
|
3 | import { PathLike } from "fs";
|
4 | import { Category, TestResult, TestResultContainer } from "../model.js";
|
5 | export interface AllureWriter {
|
6 | writeResult(result: TestResult): void;
|
7 | writeGroup(result: TestResultContainer): void;
|
8 | writeAttachment(name: string, content: Buffer | string, encoding?: BufferEncoding): void;
|
9 | writeAttachmentFromPath(from: PathLike, distFileName: string): void;
|
10 | writeEnvironmentInfo(info: Record<string, string | undefined>): void;
|
11 | writeCategoriesDefinitions(categories: Category[]): void;
|
12 | }
|