jest-cucumber icon indicating copy to clipboard operation
jest-cucumber copied to clipboard

Test reports don't work

Open KhrypunAlex opened this issue 3 years ago • 7 comments

At this moment jest-cucumber uses 'cucumber" package for reports but it was updated and now we should use @cucumber/cucumber for it. Because of wrong package you could see the next error: /node_modules/jest-cucumber/dist/src/reporter.js". Cannot find module 'cucumber/lib/formatter/get_color_fns' It is expected because "cucumber" package do not have a "lib" folder and in a Readme file you will find that "cucumber" is deprecated and you should use @cucumber/cucumber

KhrypunAlex avatar Aug 25 '21 10:08 KhrypunAlex

Any updates regarding this issue?

p0lax avatar Jan 18 '22 11:01 p0lax

+1

wolfmanfx avatar Feb 24 '22 22:02 wolfmanfx

Any plans for fixing this issue? I'd say that it's a pretty important feature

p0lax avatar Apr 20 '22 09:04 p0lax

Is reporting working at all in 3.0.1 ? I can't see it in git but it is in the npm package ?

Here's a workaround for the import but it doesn't go far after that

"jest-cucumber": "3.0.1",
"cucumber":"npm:@cucumber/[email protected]",
"@cucumber/cucumber":"7.3.2",

avmr48 avatar May 16 '22 14:05 avmr48

You can close this issue https://github.com/bencompton/jest-cucumber/issues/27

avmr48 avatar May 16 '22 14:05 avmr48

@avmr48 reporting doesn't work with the following errors no such file or directory, open '/tmp/jest-cucumber-reporting/

Are there any plans of reporting support for version 3.x.x? In the discussion #27 I see that cucumber will not support JSON anymore, but reporting of this library is built on the top of it

p0lax avatar May 30 '22 07:05 p0lax

hi.. is there any update on this issue.. it would be great if this gets prioritised...

daraniya avatar Mar 22 '23 15:03 daraniya