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

Is it possible to use cucumber-reporting plugin through cucumber CLI Runner? #686

Open
NameAlex opened this Issue Nov 6, 2017 · 6 comments

Comments

Projects
None yet
3 participants
@NameAlex
Copy link

NameAlex commented Nov 6, 2017

I would like to use cucumber-reporting through cucumber CLI Runner . Now I use native cucumber plugin for html report generation, like passing arguments --plugin html: /home/user/etc. But it does not provide overlall statistic of executed test cases as it does "cucumber-reporting".

@damianszczepanik

This comment has been minimized.

Copy link
Owner

damianszczepanik commented Nov 6, 2017

Well it does not and I don't have plan to support this unless someone (you?) send PR about it.

@monochromata

This comment has been minimized.

Copy link

monochromata commented Jul 9, 2018

I gave this a try at https://gitlab.com/monochromata-de/pretty-cucumber-reports-plugin . It works quite well up to this draft stage. But I did not figure out yet how to pass further information to the Cucumber formatter, like project name and the classifications. So this is not a complete solution yet.

I wonder whether https://github.com/damianszczepanik/maven-cucumber-reporting would be a better fit for @NameAlex's requirements, though. I found out about maven-cucumber-reporting after seeing the first report I generated myself. Maybe maven-cucumber-reporting could be linked prominently at https://github.com/damianszczepanik/cucumber-reporting ?

If https://gitlab.com/monochromata-de/pretty-cucumber-reports-plugin seems useful, I would also be happy to contribute it somewhere below https://github.com/damianszczepanik/ or as part of https://github.com/damianszczepanik/cucumber-reporting whatever @damianszczepanik thinks fits.

@damianszczepanik

This comment has been minimized.

Copy link
Owner

damianszczepanik commented Jul 9, 2018

Contribution is more than welcome. I will be happy to accept PR

@monochromata

This comment has been minimized.

Copy link

monochromata commented Jul 16, 2018

I updated the cucumber reporter plugin in https://gitlab.com/monochromata-de/pretty-cucumber-reports-plugin with a mechanism to read project name, classifications etc. from a properties file.

I implemented it using cucumber-jvm 3.0.2. Because the cucumber formatter plugin has a direct dependency on cucumber that is not present in damianszczepanik/cucumber-reporting, I suggest you create a new repo damianszczepanik/cucumber-formatter-plugin . I would then adjust the package names to your namespace and send a pull request to that repo. You could then add your maven config to have the project built. What do you think?

@damianszczepanik

This comment has been minimized.

Copy link
Owner

damianszczepanik commented Jul 16, 2018

Why do you want me to create repo which can be created by you? From my perspective it is more valuable as you are the main contributor (congrats!) and I don't have to maintain another project which I probably won't use

@monochromata

This comment has been minimized.

Copy link

monochromata commented Dec 4, 2018

Out of laziness - I'm most fine when I don't have to maintain things myself :-).

However, I now published https://gitlab.com/monochromata-de/cucumber-reporting-plugin . It's also available from the Central repository :-).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.