import { Project, TestFile } from "../loader/model"; import { TestExecutionLifecycleHooks } from "./context-provider.interface"; import { TestScriptExecutor } from "./test-script-executor.interface"; import { TestExecutionContext } from "./test-execution-context"; export declare class SakuliRunner implements TestExecutionLifecycleHooks { readonly lifecycleHooks: TestExecutionLifecycleHooks[]; readonly testExecutionContext: TestExecutionContext; readonly testFileExecutor: TestScriptExecutor; private hookRegistry; constructor(lifecycleHooks: TestExecutionLifecycleHooks[], testExecutionContext: TestExecutionContext, testFileExecutor?: TestScriptExecutor); /** * Tears up all lifecycle-hooks, merges their results of getContext and pass this result to the testFile Executor * Tears down all service providers after execution of each testFile * * @param project The Project Structure found by a Project loader * @returns a merged object from all provided contexts after their execution */ execute(project: Project): Promise; onProject(project: Project, tec: TestExecutionContext): Promise; beforeExecution(project: Project, testExecutionContext: TestExecutionContext): Promise; afterExecution(project: Project, testExecutionContext: TestExecutionContext): Promise; afterRunFile(file: TestFile, project: Project, testExecutionContext: TestExecutionContext): Promise; beforeRunFile(file: TestFile, project: Project, testExecutionContext: TestExecutionContext): Promise; requestContext(testExecutionContext: TestExecutionContext, project: Project): Promise; readFileContent(testFile: TestFile, project: Project, context: TestExecutionContext): Promise; private registerSignalHandler; private registerUnhandledErrorNotifier; } //# sourceMappingURL=sakuli-runner.class.d.ts.map