UNPKG

@craftapit/tester

Version:

A focused, LLM-powered testing framework for natural language test scenarios

20 lines (19 loc) 583 B
import { Scenario } from '../types/scenario'; export declare class ScenarioParser { /** * Parse a scenario from a string * @param content The scenario content as a string * @returns The parsed scenario */ parse(content: string): Scenario; /** * Parse a scenario from a file * @param scenarioPath The path to the scenario file * @returns The parsed scenario */ parseScenario(scenarioPath: string): Promise<Scenario>; private extractTestType; private extractTitle; private extractContext; private extractSteps; }