Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cucumber compatible json output #48

Open
yragg opened this issue Aug 2, 2014 · 3 comments
Open

cucumber compatible json output #48

yragg opened this issue Aug 2, 2014 · 3 comments

Comments

@yragg
Copy link

yragg commented Aug 2, 2014

How does turnip_formatter compare to existing report builders:
eg. this one for jenkins:

https://github.com/jan-molak/jenkins-cucumber-jvm-reports-plugin-java

And can this gem be used to produce cucumber compatible json output?

ie. of the form:
https://www.relishapp.com/cucumber/cucumber/docs/json-output-formatter#one-feature,-one-passing-scenario,-one-failing-scenario

which could then be plugged in to the cucumber report builders?

Or on the other hand can this gem generate reports in jenkins based on the cucumber json created by some other job?

@gongo
Copy link
Owner

gongo commented Aug 2, 2014

Hi @yragg .

I think turnip_formatter will be able to generate cucumer report json output in addition to html output. However, I do not need json output at the moment, so I'm not going to implement.

If you want to this feature, please send me a pull request. Or, wait patiently for me to implement.


By the way, I have kept HTML that generated by turnip_formatter on Jenkins using plugin (eg. HTML Publisher Plugin). So I do not feel so far the need to use cucumber report builder.

@yragg
Copy link
Author

yragg commented Aug 3, 2014

Hi @gongo, thanks for the reply and the gem.

I was also interested in another jenkins plugin:

https://wiki.jenkins-ci.org/display/JENKINS/Cucumber+Test+Result+Plugin

which apparently provides a trend/test history, although I have trouble seeing an example of this in the hosted screenshots.
(and as it needs cucumber report json output I'm unable to check it out).

.. but your reports are awesome - so i'll probably just stick with them.

(or if someone else reads this and wants to put in the effor,t do you think you could link to a couple of files and perhaps write a sentence pointing them in the right direction of how they could implement it?)

@gongo
Copy link
Owner

gongo commented Aug 3, 2014

(or if someone else reads this and wants to put in the effor,t do you think you could link to a couple of files and perhaps write a sentence pointing them in the right direction of how they could implement it?)

Umm.. I'm not going to write this sentence currently. (no motivation..)
I can only say "Please read the source code" .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants