-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Re-write formatters against new API #839
Comments
Pretty re-write investment may be best placed into https://github.com/cucumber/cucumber-pretty-formatter |
Charlie Rudolph has just dropped the pretty formatter from cucumber-js altogether, and just just pretty-printing failures. As much fun as it is writing pretty formatters, I think we should give serious consideration to doing the same, and giving ourselves a clean slate for these. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. |
This issue has been automatically closed because of inactivity. You can support the Cucumber core team on opencollective. |
💖 🌈 hooray! |
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. |
For 3.0 the https://github.com/cucumber/cucumber/blob/master/lib/cucumber/formatter/legacy_api/adapter.rb should be removed, and all formatters that ship with Cucumber should go through the new, test-case based API.
Altogether there are:
progress (Rewrite the Progress, Usage, Stepdefs formatters to the new formatter api #859)pretty(Let the Pretty Formatter use events #1305)html(Remove the HTML Formatter #1306)json(Rewrite the Json Formatter to use the new formatter api #851)json_pretty(is the same as json)junit (Rewrite the JUnit Formatter to the new formatter Api #855)stepdefs (Rewrite the Progress, Usage, Stepdefs formatters to the new formatter api #859)usage (Rewrite the Progress, Usage, Stepdefs formatters to the new formatter api #859)debugcan be removed - only for help writing old-API formattersrerundone in (83a0c75)I think the progress formatter is the place to start, as there's a lot of shared code in all the console formatters. If you want to tackle one, please create a ticket and reference this ticket.
The text was updated successfully, but these errors were encountered: