Skip to content

Cucumber 8 support #75

@Crow-EH

Description

@Crow-EH

Cucumber 8.0.0 will be released in the near future and is currently available on npm as a release candidate.

We should support it, with or without cucumber 7.x.x depending on the compatibility issues.

Trying to support it now could allow us to officially support it when it's released.

I tested 8.0.0-rc.1 on a project using veggies 1.0.1, and I got this error when launching the tests :

node:internal/modules/cjs/loader:488
      throw e;
      ^

Error: Cannot find module '/usr/src/app/node_modules/@cucumber/cucumber/lib/cli.js'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:960:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:953:15)
    at resolveExports (node:internal/modules/cjs/loader:482:14)
    at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/usr/src/app/node_modules/@ekino/veggies/src/cli/index.js:4:21)
    at Module._compile (node:internal/modules/cjs/loader:1101:14) {
  code: 'MODULE_NOT_FOUND',
  path: '/usr/src/app/node_modules/@cucumber/cucumber/package.json'
}

It might be on my side though, any additional tests welcome !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions