UNPKG

1.08 kBTypeScriptView Raw
1/// <reference types="node" />
2import { StepBodyFunction } from "../AllureCommandStep.js";
3import { ParameterOptions } from "../model.js";
4export interface AllureRuntimeApiInterface {
5 label(name: string, value: string): void;
6 parameter(name: string, value: any, options?: ParameterOptions): void;
7 link(url: string, name?: string, type?: string): void;
8 attachment(content: string | Buffer, type: string): void;
9 step(name: string, body: StepBodyFunction): void;
10 epic(epic: string): void;
11 feature(feature: string): void;
12 story(story: string): void;
13 suite(name: string): void;
14 parentSuite(name: string): void;
15 subSuite(name: string): void;
16 owner(owner: string): void;
17 severity(severity: string): void;
18 layer(layer: string): void;
19 id(allureId: string): void;
20 tag(tag: string): void;
21 issue(name: string, url: string): void;
22 tms(name: string, url: string): void;
23 description(markdown: string): void;
24 descriptionHtml(html: string): void;
25 testCaseId(id: string): void;
26 historyId(id: string): void;
27}