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

Integrate cucumber-html in cucumber-js #28

Closed
jbpros opened this issue Sep 25, 2011 · 18 comments
Closed

Integrate cucumber-html in cucumber-js #28

jbpros opened this issue Sep 25, 2011 · 18 comments

Comments

@jbpros
Copy link
Member

jbpros commented Sep 25, 2011

A new project has been created for html reporting for all cucumber implementations. Make cucumber.js use it.

There is already a proof-of-concept.

Basically, cucumber-js needs a new listener that will pass translated events to the cucumber-html formatter and reporter.

@jbpros
Copy link
Member Author

jbpros commented Sep 27, 2011

We should expose Cucumber-html's formatter through the Cucumber namespace. See the related issue on cucumber-html.

@AlanFoster
Copy link

Just registering my interesting at this issue; I think this would be a pretty nice feature to have

@goodliff
Copy link

I agree with Alan.

@linuxcat
Copy link

linuxcat commented Jun 4, 2013

Agree also

@jdewit
Copy link

jdewit commented Jan 13, 2014

Checkout the grunt plugin https://github.com/mavdi/grunt-cucumberjs.

It prints the output to html nicely.

@ukpeti
Copy link

ukpeti commented Apr 16, 2014

This would be a pretty useful feature for CucumberJS, is there any news about it?

@raDiesle
Copy link

agree

@jlin412
Copy link

jlin412 commented Sep 25, 2014

+1 @jdewit I can't use grunt-cucumberjs because I am using protractor with cucumber framework.

@sajesh2686
Copy link

I feel we should not, rather we should have a provision to mention html
template based on which user can define there on reporting structure .

We have tried it and it is very easy to tweak existing formats and have
your one html outpu in native cucumberjs itself.

On Thu, Sep 25, 2014 at 5:56 PM, Jason Lin notifications@github.com wrote:

+1


Reply to this email directly or view it on GitHub
#28 (comment).

Thanks & Regards

Sajesh

@jlin412
Copy link

jlin412 commented Sep 25, 2014

@sajesh2686 can you share what you have done?

On Thu, Sep 25, 2014 at 3:05 PM, sajesh2686 notifications@github.com
wrote:

I feel we should not, rather we should have a provision to mention html
template based on which user can define there on reporting structure .

We have tried it and it is very easy to tweak existing formats and have
your one html outpu in native cucumberjs itself.

On Thu, Sep 25, 2014 at 5:56 PM, Jason Lin notifications@github.com
wrote:

+1


Reply to this email directly or view it on GitHub
#28 (comment).

Thanks & Regards

Sajesh


Reply to this email directly or view it on GitHub
#28 (comment).

@h2non
Copy link

h2non commented Jan 11, 2015

There are plans to support/integrate it soon?

@bailejl
Copy link

bailejl commented Mar 18, 2015

@jlin412 I am using protractor with Cucumber, so I would like it added to Cucumber.

@goriol
Copy link

goriol commented Jul 6, 2015

I am also interested by this HTML formatter and as this issue was still open, I wanted to contribute and implement it.

I ended with a first draft based on the Cucumber-js example:
https://gist.github.com/goriol/f1bed747658e2a27f4c0#file-html_formatter-js

This implementation comes with several issues:

  • the HTML template should probably go somewhere else
  • I had to use a global variable for jQuery without which cucumber-html complains jQuery is not defined
    (should be fixed on cucumber-html side).

Could somebody help me improve this cucumber-html integration?

@JimLynchCodes
Copy link

How can we use cucumber-html with cucumber.js to generate reports?

@gkushang
Copy link

Hi Guys, checkout the cucumber-html-reporter for HTML reporting. Converts JSON to HTML reports. Here is the snapshot of it's bootstrap theme,

screen shot 2016-06-27 at 11 19 12 am

@jbpros Hi Julien - How about to make this an official module of cucumber-js project? Can you check it out? It will be great to be one of the HTML formatter.

@jlin412
Copy link

jlin412 commented Jun 27, 2016

Just trying it out. It is pretty nice.

On Mon, Jun 27, 2016 at 2:47 PM, Kushang Gajjar notifications@github.com
wrote:

Hi Guys, checkout the cucumber-html-reporter
https://www.npmjs.com/package/cucumber-html-reporter for HTML
reporting. Converts JSON to HTML reports. Here is the snapshot of it's
bootstrap theme,

[image: screen shot 2016-06-27 at 11 19 12 am]
https://cloud.githubusercontent.com/assets/3663389/16391556/b427306e-3c75-11e6-93b1-2add653b6cba.png

@jbpros https://github.com/jbpros Hi Julien - How about to make this an
official module of cucumber-js project? Can you check it out? It will be
great to be one of the HTML formatter.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#28 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABF6jbtPUWZC4hZ1GQS5-6Rz7ghoF9O1ks5qQBq4gaJpZM4ANhKg
.

@charlierudolph
Copy link
Member

Closing as duplicated of #94

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests