-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add support for monochrome pretty format #221
Comments
The desired behavior would be to have color formatting by default and disable it using a system property |
Exactly. The color pretty print is perfect for normal interactive BDD (devs, qa, POs, etc) use, but in certain situations (such as CI/CD deployments in Jenkins/Go/etc), the monochrome output is preferrable. |
I have added support for this flag in my branch SHA: d37bdf6 If this is the kind of thing you're looking for I'll create a pull request. |
Looks to be precisely what I was looking for, and seems to address the prior "TODO". Thanks! |
Updated JUnitFormatter to use Appendable. Updated FormatterFactory to wrap File in FileWriter Updated FormatterFactory to create directories required for files Updated FormatterFactory to add cucumber.monochrome flag to be passed to the Pretty & Progress formatters
This was fixed in 1.0.0 |
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. |
Further details were posted in the Cukes group. The basic gist is that the cucumber.monochrome system property has apparently been removed, so there is no other means to eliminate color formatting in pretty output at the moment.
http://groups.google.com/group/cukes/browse_thread/thread/5e87794784d9797b
The text was updated successfully, but these errors were encountered: