n8n
Version:
n8n Workflow Automation Tool
23 lines (22 loc) • 1.09 kB
TypeScript
import type { IDataObject } from 'n8n-workflow';
import { WithStringId } from '../../databases/entities/abstract-entity';
import type { ExecutionEntity } from '../../databases/entities/execution-entity';
import { TestRun } from '../../databases/entities/test-run.ee';
import type { TestCaseExecutionErrorCode } from '../../evaluation.ee/test-runner/errors.ee';
export type TestCaseRunMetrics = Record<string, number | boolean>;
export type TestCaseExecutionStatus = 'new' | 'running' | 'evaluation_running' | 'success' | 'error' | 'warning' | 'cancelled';
export declare class TestCaseExecution extends WithStringId {
testRun: TestRun;
pastExecution: ExecutionEntity | null;
pastExecutionId: string | null;
execution: ExecutionEntity | null;
executionId: string | null;
evaluationExecution: ExecutionEntity | null;
evaluationExecutionId: string | null;
status: TestCaseExecutionStatus;
runAt: Date | null;
completedAt: Date | null;
errorCode: TestCaseExecutionErrorCode | null;
errorDetails: IDataObject | null;
metrics: TestCaseRunMetrics;
}