Hi guys,
running large story files I started missing the red/green output of my
specs.
Thus I wrote a small
scripthttp://github.com/paolodona/scripts/tree/master/colorizeyou
can pipe the story output to, in order to ‘colorize’ it…
so instead of: $ ./stories/all.rb
you can say: $ ./stories/all.rb | ./colorize
and get pending and failed steps correctly highlighted.
There’s a basic support for growl too if found in your path (I ripped
off
most of the code from .autotest). That works, but it’s certainly not
well
integrated into RSpec stories. How would it be the right way to do this?
(if you want to see how the result look like, take a look here:
http://paolodona.com/2008/7/6/colorize-rspec-stories-output)
Paolo Donà wrote:
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
Hey Paolo,
This looks look. However, the story runner currently supports
colorization. You just need to pass in a --colour on the command line.
-Ben
Wow cool, I feel so stupid now 
So, after one hour in the closet I would ask: how to plug the growl
stuff in?
Paolo
On Jul 8, 2008, at 8:23 AM, aidy lewis wrote:
On 07/07/2008, Ben M. [email protected] wrote:
Hey Paolo,
This looks look. However, the story runner currently supports
colorization.
You just need to pass in a --colour on the command line.
-Ben
Could you give me some sample syntax on how to achieve this please?
ruby stories/all.rb -c
Cheers,
David
Hi David,
ruby stories/all.rb -c
Fantastic. Is it possible to create HTML from this?
Aidy
On 07/07/2008, Ben M. [email protected] wrote:
Hey Paolo,
This looks look. However, the story runner currently supports colorization.
You just need to pass in a --colour on the command line.
-Ben
Could you give me some sample syntax on how to achieve this please?
Aidy
yes. -f html
On Tue, Jul 8, 2008 at 8:41 AM, aidy lewis [email protected]
Actually, for the completeness. please see this: