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

Json Cucumber mergeFeaturesWithRetest #2775

Closed
Djonathan-Kaiper-Carguero opened this issue Jun 29, 2023 · 3 comments
Closed

Json Cucumber mergeFeaturesWithRetest #2775

Djonathan-Kaiper-Carguero opened this issue Jun 29, 2023 · 3 comments

Comments

@Djonathan-Kaiper-Carguero

In Cucumber there is a function called "mergeFeaturesWithRetest" that merges two or more Json and generates an HTML.

Would you like to know how to create a consolidated JSON?

@jkronegg
Copy link
Contributor

@Djonathan-Kaiper-Carguero It looks like you would like a new functionality in Cucumber... Could you please explain with greater details what is your current issue and what should Cucumber do in the future to solve your issue ?

@Djonathan-Kaiper-Carguero
Copy link
Author

@jkronegg
When we run cucumber vi runner scenarios it generates a cucucumber_report.json, however we have the possibility of creating another runner to run the failed tests of the first run, but it will generate a new json
cucumber_report_rerun.json.

Would the proposal be to create a combination of all JSON, taking into account the re-execution?

Any doubt I am available

@mpkorstanje
Copy link
Contributor

Unfortunately it is not possible to merge reports within Cucumber. The test run and the rerun are two separate executions of Cucumber. Because there no overarching session, Cucumber lacks the awareness needed to merge the results from multiple executions (#2672 is somewhat related).

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

No branches or pull requests

3 participants