[rspec-devel] Updated HTML formatter template

Luke Redpath contact at lukeredpath.co.uk
Thu Nov 30 10:22:31 EST 2006


You're right guys I didn't think of this.

Here's a tweaked design, with failures and a successful run:

http://uploads.lukeredpath.co.uk/rspec_success.htm
http://uploads.lukeredpath.co.uk/rspec_failed.htm

Cheers
Luke

On 30 Nov 2006, at 13:17, David Chelimsky wrote:

> On 11/30/06, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:
>> On 11/30/06, Luke Redpath <contact at lukeredpath.co.uk> wrote:
>>> I've done a bit of work on the current RSpec HTML formatter template
>>> - I've changed the stylesheet and played around with the markup a  
>>> bit
>>> to make it a bit more semantic (I've opted for definition lists for
>>> the specs). You can view it here:
>>>
>>> http://uploads.lukeredpath.co.uk/rspec.html
>>>
>>
>> Looks great in general but...
>>
>>> It still needs a bit of tweaking, but if nobody has any objections,
>>> I'll roll this into the trunk.
>>>
>>
>> people generally associate red with failure and green with success  
>> (at
>> least in the software testing domain). Aren't these colours at odds
>> with the common conventions? My initial reaction was "This is all
>> failures".
>>
>
> Agreed. The feel is very nice but the red does imply failure.
>
> Also - I think that w/ hundreds of specs, this page will get quite
> long. I'd like to see something with slightly smaller fonts and less
> space without sacrificing the nice look. One can wish, right?
>
> Thanks Luke,
> David
>
>> Can you show us one that has both passing and failing specs?
>>
>> Cheers,
>> Aslak
>>
>>> Cheers
>>> Luke
>>> _______________________________________________
>>> rspec-devel mailing list
>>> rspec-devel at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-devel
>>>
>> _______________________________________________
>> rspec-devel mailing list
>> rspec-devel at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-devel
>>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel



More information about the rspec-devel mailing list