UNPKG

@serenity-js/cucumber

Version:

Serenity/JS test runner adapter for seamless integration with any version of Cucumber.js, facilitating BDD-style test automation and leveraging Serenity/JS reporting capabilities

29 lines 987 B
import type { IConfiguration } from '@cucumber/cucumber/api'; import type { FileFinder, FileSystem } from '@serenity-js/core/lib/io'; import { Version } from '@serenity-js/core/lib/io'; import type { CucumberConfig } from './CucumberConfig'; /** * @private */ export declare class CucumberOptions { private readonly finder; private readonly fileSystem; private readonly config; constructor(finder: FileFinder, fileSystem: FileSystem, config: CucumberConfig); isStrict(): boolean; asArgumentsForCucumber(version: Version): string[]; private asArray; asCucumberApiConfiguration(): Partial<IConfiguration>; private absolutePathsToFilesMatching; private optionToValues; private asBoolean; private isObject; /** * Converts camelCase option names to kebab-case. */ private asCliOptionName; private tagsToCucumberExpressions; private flagToArg; private valuesToArgs; } //# sourceMappingURL=CucumberOptions.d.ts.map