UNPKG

@dbouckaert/zephyr-scale-cloud-reporter

Version:

ZH Cloud, or zephyr helpers is a Node JS framework that implements test suites with Zephyr scale for Jira. It uses a soft-assert function to absorb failing assertions and translate them to a true/false value.

17 lines (16 loc) 843 B
import { ZephyrConfig } from './interfaces/zephyr-config.interface'; import { SoftAssert } from './interfaces/soft-assert.interface'; /** * This function sets a range of variables the Zephyr module uses * @param {ZephyrConfig} zephyrConfig */ export declare function init(zephyrConfig: ZephyrConfig): Promise<void>; export declare const logEnvironmentNames: () => Promise<void>; export declare const logStatusNames: () => Promise<void>; export declare const createNewTestExecution: (status: boolean, environmentName: string, folderName: string, testCaseName: string, testCycleName: string) => Promise<void>; /** * Assert and capture errors. * While a normal failing assert would stop the code from running, the soft-assert can continue * And throws errors only if .assertAll() is called. */ export declare const softAssert: SoftAssert;