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

How to generate HTML report with v2.0 #832

Closed
fredgate opened this issue May 11, 2017 · 2 comments
Closed

How to generate HTML report with v2.0 #832

fredgate opened this issue May 11, 2017 · 2 comments

Comments

@fredgate
Copy link

When I use the format option and set it to json, then a JSON file is successfully generated at the end of the test campaign.
But when I set the format option to html, an error immediatly occurs :

Unhandled rejection Error: Cannot find module 'C:\XXXX\my-project\html'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Function.loadCustomFormatter (C:\Almerys\Protractor\cucumber-quickstart\node_modules\cucumber\lib\formatter\builder.js:135:29)
    at Function.getConstructorByType (C:\Almerys\Protractor\cucumber-quickstart\node_modules\cucumber\lib\formatter\builder.js:105:35)

It seems normal as in the V2 of cucumber, there is no biult-in formatter for HTML.
So how to do ?

@charlierudolph
Copy link
Member

Please see #94 (comment)

@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

2 participants