UNPKG

azure-devops-test-helper

Version:

Import JSON result with attachments into Azure Test Plan

18 lines (17 loc) 795 B
import { AzureAPIClients } from "./importer.js"; export interface MSStep { compref?: unknown; step?: unknown; attr_prefix_id?: string; attr_prefix_ref?: string; } export interface Step { id: string; ref?: string; revision?: number; children?: Step[]; } export declare function getAutomatedTestPointIds(testCases: unknown[], automatedStatus: string, executedConfigurationIds?: number[], override?: boolean): number[]; export declare function filterExecutedTestCase(testCases: unknown[], executedTestCaseIds: string[]): unknown[]; export declare function getAutomatedTestCaseIds(testCases: unknown[], automatedStatus: string): string[]; export declare function getTestCaseSteps(testCases: unknown[], azureAPIClients: AzureAPIClients): Promise<Map<string, Step[]>>;