question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for cucumber-js v7

See original GitHub issue

I’m submitting a …

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Not support for cucumber-js v7.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

After updating cucumberjs to v7 the report is not generated anymore.

What is the expected behavior?

As per cucumber changelog:

Formatters: 

- Events are now based on cucumber-messages
- event-protocol formatter has been removed and replaced with message
- Custom formatters will need to migrate
- json formatter is deprecated and will be removed in next major release. Custom formatters should migrate to use the message formatter, or the standalone JSON formatter as a stopgap.

What is the motivation / use case for changing the behavior?

Ability to use the latest features of cucumber-js

Please tell us about your environment:

Allure version 2.7.0
Test framework cucumber@7
Allure adaptor allure-cucumberjs@latest
Generate report using allure-commandline@latest

Other information

Changelog cucumber-messages

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:17
  • Comments:19 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
baevcommented, Jun 24, 2022

2.0.0-beta.18 adds support for cucumberjs 8

1reaction
Tallybcommented, Jun 21, 2022

I have published a temp fix, if anyone is interested: https://www.npmjs.com/package/allure-cucumberjs8

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cucumber.js - Cucumber Documentation
js is available as an npm module. It works with both Node.js and browsers. With Node.js. Add cucumber as a development dependency: #...
Read more >
@cucumber/cucumber - npm
Cucumber is a tool for running automated tests written in plain language. Because they're written in plain language, they can be read by...
Read more >
CucumberJS JSON Reporter - WebdriverIO
npm install wdio-cucumberjs-json-reporter --save-dev ... are using WebdriverIO V6, WebdriverIO V5 still supports this and WebdriverIO V7 supports it again.
Read more >
@cucumber/cucumber NPM | npm.io
@cucumber/cucumber v8.7.0 · Install · Get Started · Documentation · Support.
Read more >
Cucumber.js | WebStorm Documentation - JetBrains
Cucumber.js versions 6.0.0+ are supported in WebStorm 2020.3.1 and later. ... npm install --save-dev cucumber to install Cucumber.js as a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found