-
Notifications
You must be signed in to change notification settings - Fork 258
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
Use multiple formatters in the same test run #346
Comments
Hi, |
Hi @jesusnoseq, I don't think anyone is working on it, so feel free! 😊 |
the idea was to have the CLI looking something like this:
|
Ok! Modify runWithOptions function
Create a new Formatter that wraps others
Add doc
My intention is to make as few changes as possible that is why I have come up with |
I'm good with using comma separation and MultiFormatter sounds like a good idea! My opinion is to allow formatter repition, even though I don't see a real use case for it, but I feel like we can leave that to be up to the user. I also think that we should disallow repition of output and remember to check stdout there as well. Thanks!! |
An use case could be on CI: I want to populate jUnit's XML format so that jenkins displays tests results AND cucumber's JSON format to also display scenarios with this rich UI: https://plugins.jenkins.io/cucumber-reports/ |
Hi @jesusnoseq, did you have a chance to look more at this issue? :) |
I've created a PR based on ideas discussed in this issue, please check if it is sufficient. It implements support for With few more changes I think |
Awesome, can‘t wait to use this @vearutop! |
Is your feature request related to a problem? Please describe.
When running the JUnit and Cucumber formatters, I don't get any feedback.
Describe the solution you'd like
To be able to use multiple formatters so that I can run the Progress formatter next to JUnit/Cucumber.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: