UNPKG

@uuv/assistant

Version:

UUV Helper used to improve the life of testers and developers by generating cucumber phrases from the GUI.

39 lines (38 loc) 1.01 kB
/** * Software Name : UUV * * SPDX-License-Identifier: MIT * * This software is distributed under the MIT License, * see the "LICENSE" file for more details * * Authors: NJAKO MOLOM Louis Fredice & SERVICAL Stanley * Software description: Make test writing fast, understandable by any human * understanding English or French. */ export declare class Suggestion { accessibleAttribute: string; accessibleValue: string; code: string; sentenceAfterCorrection: string[]; constructor(accessibleAttribute?: string, accessibleValue?: string, code?: string, sentenceAfterCorrection?: string[]); } export type BaseSentence = { key: string; description: string; wording: string; }; export type EnrichedSentence = { key: string; wording: string; }; export declare enum StepCaseEnum { WHEN = "When ", THEN = "Then ", GIVEN = "Given ", AND = "And " } export type TranslateSentences = { suggestion: Suggestion | undefined; sentences: string[]; };