You can clone with
Red/green colorblind users would benefit from the ability to configure success/failure colors.
This seems pretty straightforward. Thoughts on naming and interface?
RSpec.configure do |c|
c.failure_color = :red
c.success_color = :green
(and appropriate command line equivalents for ~/.rspec)?
I think we can support Symbols like :red and :green, but we should also support ascii color codes. Otherwise, this seems fine to me.
Specified via integers?
RSpec.configuration.success_color = 34 # blue
Cool. I think this could be a fun one to have a new employee work on. It might be a few weeks if that's OK.
This would be invaluable for red/green colorblind people like me. Thanks for starting this!
I'd like to see symbols for common colors, and let people use an integer if they want something more specific.
This is being implemented in #709.
To get color output to Mac's terminal, add a rspec configuration file named '.rspec' to the project's root and put the following single line in there:
@sdondley that's correct, however this issue is about configuring the specific colors that are used, not when color is used.
Fixed by #709.
Is there now a way of setting these options in .rspec, as alindeman suggested? I tried --failure-color yellow, but it didn't work. If there is, it seems not to be documented in the help file.