[rspec-users] REG: Colour setting for html logs
aslak.hellesoy at gmail.com
Mon May 18 07:53:34 EDT 2009
> Anil Gollaa wrote:
>> When i run some testcases using cucumber sample.feature --format
>> 1) After execution, By default in the html file, background colour is
>> How can i set the background color any other colour i want. Like we can
>> other passed, failed colours using the below command.
>> export CUCUMBER_COLORS=passed=white
> Currently we do not support customising any of the colours in the HTML
> formatter. These are all defined within a css file.
> Rather than passing colours on the command line for the HTML formatter I
> would prefer if you could specify your own css file to use.
> cucumber --format html --css my_own_special_colours.css
> The other option which is possible now is to create your own formatter
> (http://wiki.github.com/aslakhellesoy/cucumber/custom-formatters) extending
> the HTML formatter. Overide 'def inline_css' so that it provides your own
> CSS file.
This is the option I recommend. I'm not keen on adding a new switch to
the cucumber command line just to accommodate for one of the
>> 2) The generated HTML just gives the scenarios description but its doest
>> not show then no of scenarious passed or failed e.tc
>> How can get the information in htmloutput as well.
> We have a ticket open on this, please direct any input they have there.
>> Please help me in this regard.
Please help us by providing a patch.
>> Anil kumar
> Joseph Wilk
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users