@autometa/executor
Advanced tools
+8
-4
@@ -1,5 +0,9 @@ | ||
| export { resolveTimeout, chooseTimeout, TimeoutResolution, TimeoutSource } from "./timeouts"; | ||
| export { collectScenarioHooks, HookCollection, ResolvedHook } from "./hooks"; | ||
| export { runScenarioExecution, ScenarioRunContext } from "./scenario-runner"; | ||
| export { registerFeaturePlan, ExecuteFeatureOptions } from "./execute-plan"; | ||
| export { resolveTimeout, chooseTimeout } from "./timeouts"; | ||
| export type { TimeoutResolution, TimeoutSource } from "./timeouts"; | ||
| export { collectScenarioHooks } from "./hooks"; | ||
| export type { HookCollection, ResolvedHook } from "./hooks"; | ||
| export { runScenarioExecution } from "./scenario-runner"; | ||
| export type { ScenarioRunContext } from "./scenario-runner"; | ||
| export { registerFeaturePlan } from "./execute-plan"; | ||
| export type { ExecuteFeatureOptions } from "./execute-plan"; | ||
| export { ScopeLifecycle, type HookLogEvent, type HookLogListener, type HookLogPathSegment, type HookLogScenarioDetails, type HookLogStepDetails, type HookLogPhase, type HookLifecycleMetadata, type HookLifecycleScenarioMetadata, type HookLifecycleStepMetadata, type HookLifecycleTargetScopeMetadata, } from "./scope-lifecycle"; | ||
@@ -6,0 +10,0 @@ export { selectSuiteByMode, selectTestByMode, resolveModeFromTags } from "./modes"; |
@@ -1,4 +0,5 @@ | ||
| import { type HeaderlessTable, type HeaderlessTableOptions, type HorizontalTable, type HorizontalTableOptions, type MatrixTable, type MatrixTableOptions, type TableShape, type VerticalTable, type VerticalTableOptions } from "@autometa/gherkin"; | ||
| import { type HeaderlessTable, type HeaderlessTableOptions, type HorizontalTable, type HorizontalTableOptions, type MatrixKeys, type MatrixTable, type MatrixTableOptions, type TableKeysMap, type TableShape, type VerticalTable, type VerticalTableOptions } from "@autometa/gherkin"; | ||
| import type { SourceRef, StepExpression, StepKeyword } from "@autometa/scopes"; | ||
| export type RawTable = readonly (readonly string[])[]; | ||
| type TableOptionsProvider<T> = T | (new () => T); | ||
| export interface DocstringInfo { | ||
@@ -72,7 +73,10 @@ readonly content: string; | ||
| export declare function getStepRuntimeFromWorld(world: unknown): StepRuntimeHelpers | undefined; | ||
| export declare function getTable(world: unknown, shape: "headerless", options?: HeaderlessTableOptions): HeaderlessTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "horizontal", options?: HorizontalTableOptions): HorizontalTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "vertical", options?: VerticalTableOptions): VerticalTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "matrix", options?: MatrixTableOptions): MatrixTable | undefined; | ||
| export declare function consumeTable(world: unknown, shape: TableShape, options?: HeaderlessTableOptions | HorizontalTableOptions | VerticalTableOptions | MatrixTableOptions): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "headerless", options?: TableOptionsProvider<HeaderlessTableOptions>): HeaderlessTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions>): HorizontalTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions>): VerticalTable | undefined; | ||
| export declare function getTable(world: unknown, shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions>): MatrixTable | undefined; | ||
| export declare function getTable<TKeys extends TableKeysMap>(world: unknown, shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions<TKeys>>): HorizontalTable | undefined; | ||
| export declare function getTable<TKeys extends TableKeysMap>(world: unknown, shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions<TKeys>>): VerticalTable | undefined; | ||
| export declare function getTable<TKeys extends MatrixKeys>(world: unknown, shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions<TKeys>>): MatrixTable | undefined; | ||
| export declare function consumeTable(world: unknown, shape: TableShape, options?: TableOptionsProvider<HeaderlessTableOptions> | TableOptionsProvider<HorizontalTableOptions> | TableOptionsProvider<VerticalTableOptions> | TableOptionsProvider<MatrixTableOptions>): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable | undefined; | ||
| export declare function consumeDocstring(world: unknown): string | undefined; | ||
@@ -85,17 +89,26 @@ export declare function configureStepDocstrings(config: Partial<DocstringTransformConfig>): void; | ||
| readonly currentStep: StepRuntimeMetadata | undefined; | ||
| getTable(shape: "headerless", options?: HeaderlessTableOptions): HeaderlessTable | undefined; | ||
| getTable(shape: "horizontal", options?: HorizontalTableOptions): HorizontalTable | undefined; | ||
| getTable(shape: "vertical", options?: VerticalTableOptions): VerticalTable | undefined; | ||
| getTable(shape: "matrix", options?: MatrixTableOptions): MatrixTable | undefined; | ||
| getTable(shape: TableShape, options?: HeaderlessTableOptions | HorizontalTableOptions | VerticalTableOptions | MatrixTableOptions): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable | undefined; | ||
| consumeTable(shape: "headerless", options?: HeaderlessTableOptions): HeaderlessTable | undefined; | ||
| consumeTable(shape: "horizontal", options?: HorizontalTableOptions): HorizontalTable | undefined; | ||
| consumeTable(shape: "vertical", options?: VerticalTableOptions): VerticalTable | undefined; | ||
| consumeTable(shape: "matrix", options?: MatrixTableOptions): MatrixTable | undefined; | ||
| consumeTable(shape: TableShape, options?: HeaderlessTableOptions | HorizontalTableOptions | VerticalTableOptions | MatrixTableOptions): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable | undefined; | ||
| requireTable(shape: "headerless", options?: HeaderlessTableOptions): HeaderlessTable; | ||
| requireTable(shape: "horizontal", options?: HorizontalTableOptions): HorizontalTable; | ||
| requireTable(shape: "vertical", options?: VerticalTableOptions): VerticalTable; | ||
| requireTable(shape: "matrix", options?: MatrixTableOptions): MatrixTable; | ||
| requireTable(shape: TableShape, options?: HeaderlessTableOptions | HorizontalTableOptions | VerticalTableOptions | MatrixTableOptions): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable; | ||
| getTable(shape: "headerless", options?: TableOptionsProvider<HeaderlessTableOptions>): HeaderlessTable | undefined; | ||
| getTable(shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions>): HorizontalTable | undefined; | ||
| getTable<TKeys extends TableKeysMap>(shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions<TKeys>>): HorizontalTable | undefined; | ||
| getTable(shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions>): VerticalTable | undefined; | ||
| getTable<TKeys extends TableKeysMap>(shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions<TKeys>>): VerticalTable | undefined; | ||
| getTable(shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions>): MatrixTable | undefined; | ||
| getTable<TKeys extends MatrixKeys>(shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions<TKeys>>): MatrixTable | undefined; | ||
| getTable(shape: TableShape, options?: TableOptionsProvider<HeaderlessTableOptions> | TableOptionsProvider<HorizontalTableOptions> | TableOptionsProvider<VerticalTableOptions> | TableOptionsProvider<MatrixTableOptions>): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable | undefined; | ||
| consumeTable(shape: "headerless", options?: TableOptionsProvider<HeaderlessTableOptions>): HeaderlessTable | undefined; | ||
| consumeTable(shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions>): HorizontalTable | undefined; | ||
| consumeTable<TKeys extends TableKeysMap>(shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions<TKeys>>): HorizontalTable | undefined; | ||
| consumeTable(shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions>): VerticalTable | undefined; | ||
| consumeTable<TKeys extends TableKeysMap>(shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions<TKeys>>): VerticalTable | undefined; | ||
| consumeTable(shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions>): MatrixTable | undefined; | ||
| consumeTable<TKeys extends MatrixKeys>(shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions<TKeys>>): MatrixTable | undefined; | ||
| consumeTable(shape: TableShape, options?: TableOptionsProvider<HeaderlessTableOptions> | TableOptionsProvider<HorizontalTableOptions> | TableOptionsProvider<VerticalTableOptions> | TableOptionsProvider<MatrixTableOptions>): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable | undefined; | ||
| requireTable(shape: "headerless", options?: TableOptionsProvider<HeaderlessTableOptions>): HeaderlessTable; | ||
| requireTable(shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions>): HorizontalTable; | ||
| requireTable<TKeys extends TableKeysMap>(shape: "horizontal", options?: TableOptionsProvider<HorizontalTableOptions<TKeys>>): HorizontalTable; | ||
| requireTable(shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions>): VerticalTable; | ||
| requireTable<TKeys extends TableKeysMap>(shape: "vertical", options?: TableOptionsProvider<VerticalTableOptions<TKeys>>): VerticalTable; | ||
| requireTable(shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions>): MatrixTable; | ||
| requireTable<TKeys extends MatrixKeys>(shape: "matrix", options?: TableOptionsProvider<MatrixTableOptions<TKeys>>): MatrixTable; | ||
| requireTable(shape: TableShape, options?: TableOptionsProvider<HeaderlessTableOptions> | TableOptionsProvider<HorizontalTableOptions> | TableOptionsProvider<VerticalTableOptions> | TableOptionsProvider<MatrixTableOptions>): HeaderlessTable | HorizontalTable | VerticalTable | MatrixTable; | ||
| getRawTable(): RawTable | undefined; | ||
@@ -115,1 +128,2 @@ getDocstring(): string | undefined; | ||
| export declare function createStepRuntime(world: unknown): StepRuntimeHelpers; | ||
| export {}; |
+6
-6
| { | ||
| "name": "@autometa/executor", | ||
| "version": "1.0.0-rc.1", | ||
| "version": "1.0.0-rc.2", | ||
| "description": "", | ||
@@ -21,8 +21,8 @@ "type": "module", | ||
| "@cucumber/tag-expressions": "^5.0.1", | ||
| "@autometa/errors": "1.0.0-rc.1", | ||
| "@autometa/events": "1.0.0-rc.1", | ||
| "@autometa/gherkin": "1.0.0-rc.1", | ||
| "@autometa/config": "1.0.0-rc.1", | ||
| "@autometa/events": "1.0.0-rc.2", | ||
| "@autometa/errors": "1.0.0-rc.2", | ||
| "@autometa/gherkin": "1.0.0-rc.2", | ||
| "@autometa/config": "1.0.0-rc.2", | ||
| "@autometa/scopes": "1.0.0-rc.1", | ||
| "@autometa/test-builder": "1.0.0-rc.1" | ||
| "@autometa/test-builder": "1.0.0-rc.2" | ||
| }, | ||
@@ -29,0 +29,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
502531
3.05%5157
0.82%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated