Forum Discussion
Which cucumber are you using? cucumber-jvm?
Which version?
Which formatter are you specifying?
- hocutz3 years agoNew Contributor
Hi,
I'm using info.cuckes 1.2.4 with Java Spring, Masterthought reporter and json as formatter.
Thanks
- aurelien-reeves3 years agoStaff
Thanks for the info.
So actually this is not related to cucumber, but certainly to Masterthought cucumber reporter.
You are using the json formatter from cucumber. Your output is not identified as "Output 1" by cucumber or its json formater. Masterthought cucumber-reporting do that, and I do not know that tool myself.
You'll certainly be able to get more appropriate help from the developer: https://github.com/damianszczepanik/cucumber-reporting
- hocutz3 years agoNew Contributor
Hi,
Thanks for the reply.
Masterthought only interprets the info that is found in the json afaik.
I just opened up the json file, the one created by cucumber, and there is a field in it called: "output" which was created by the scenario.write function (basically the output is something like this: output: "text written in the function")
And to expand a bit, scenario.write function seems to be linked to the ScenarioImpl.class from cucumber.runtime package, and from there it goes into the Reporter class from the Gherkin Formatter classes.
Any thoughts?
Thanks
Related Content
Recent Discussions
- 5 months agopz1502
- 5 months agoraja110199