Cucumberish icon indicating copy to clipboard operation
Cucumberish copied to clipboard

how to generate JSON output

Open matdtr opened this issue 5 years ago • 3 comments

Hi i'm new to Cucumberish i saw that there is possibility to generate a JSON output after the test but how? There is no documentation about it, just in the changelogs

matdtr avatar Jul 08 '19 15:07 matdtr

indeed, where is json?

olyv avatar Jul 11 '19 11:07 olyv

Hi @matdtr , could you share if you managed to find json reports location? I think they are not generated for me

UPD: in order to get json report, i had to specify Cucumberish.instance()?.resultsDirectory, otherwise it is nil by default and reports are not saved

olyv avatar Jul 15 '19 10:07 olyv

and back to json reports; they seem to be not generated for failed scenarios. I.e., report is only stored for passed test. Am I messing with setup again? 😆

olyv avatar Jul 18 '19 12:07 olyv