Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Please explain how to use it #37

Closed
FastNinja opened this issue Apr 18, 2016 · 8 comments
Closed

Please explain how to use it #37

FastNinja opened this issue Apr 18, 2016 · 8 comments

Comments

@FastNinja
Copy link

FastNinja commented Apr 18, 2016

Hi guys,
I must be really stupid - but I couldn't figure out how to actually use it.

I Use Cucumber JS to run BDD tests. I can product .json or text output files from the test runner.

My assumptions is that I can feed these .json file to Cucumber-HTML and get a valid HTML report.
How?

@mucsi96
Copy link

mucsi96 commented Apr 20, 2016

+1

@maxmeyer
Copy link

@mucsi96 Please use the "new style" reaction button of "github".

@maxmeyer
Copy link

You might want to have a look at https://github.com/cucumber/cucumber-pretty-formatter

@mucsi96
Copy link

mucsi96 commented Apr 20, 2016

Thanks!

@mucsi96
Copy link

mucsi96 commented Apr 20, 2016

@maxmeyer cucumber-pretty-formatter currently does not support JS. I created an issue for that cucumber/cucumber-js-pretty-formatter#4

@brasmusson
Copy link
Contributor

@FastNinja This project is not a (standalone) tool to produce html-reports from json-reports. You are probably thinking of cucumber-reporting (for Jenkins) or cucumber-sandwich. Neither of these tools are developed or maintained by the team of Cucumber projects.

Cucumber-JVM has integrated this project in its html-formatter. Cucumber-JS has not done it (yet), see cucumber/cucumber-js#28.

I close this since this is an issue tracker and not a support forum.

@FastNinja
Copy link
Author

@brasmusson
My confusion came from the fact that on the main page of Cucumber-HTML it clams

Cucumber-HTML is a cross-platform HTML formatter for all the Cucumber implementations. It's currently only used by Cucumber-JVM and Cucumber.js

Probably you will want to update front page then? is it a module that has to be used by other Cucumber implmenentations?

@brasmusson
Copy link
Contributor

@FastNinja Yes, this project is to be used from within other Cucumber implementations.

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

4 participants