diff --git a/src/api/run_cucumber.ts b/src/api/run_cucumber.ts index 599f49c65..0d86a0bb1 100644 --- a/src/api/run_cucumber.ts +++ b/src/api/run_cucumber.ts @@ -4,6 +4,7 @@ import { EventDataCollector } from '../formatter/helpers' import { emitMetaMessage, emitSupportCodeMessages } from '../cli/helpers' import { resolvePaths } from '../paths' import { SupportCodeLibrary } from '../support_code_library_builder/types' +import { version } from '../version' import { IRunOptions, IRunEnvironment, IRunResult } from './types' import { makeRuntime } from './runtime' import { initializeFormatters } from './formatters' @@ -28,6 +29,11 @@ export async function runCucumber( const mergedEnvironment = mergeEnvironment(environment) const { cwd, stdout, stderr, env, logger } = mergedEnvironment + logger.debug(`Running cucumber-js ${version} +Working directory: ${cwd} +Running from: ${__dirname} +`) + const newId = IdGenerator.uuid() const supportCoordinates =