Autotest Growl Fail/Pass Smilies

John Nunemaker posted a handy tip on “setting up autotest to work with Growl”:http://railstips.org/2007/7/23/autotest-growl-pass-fail-notifications

I use this all the time now however I didn’t like the ugly smilies (call me shallow if you like). I used “Wolfgang Bartelme’s”:http://bartelme.at “Smily Devkit”:http://bartelme.at/journal/archive/smiley_devkit to make a couple of PNG’s slightly more pleasing to the eye.

p=. !http://thelucid.com/files/fail.png(Autotest Fail image)!
!http://thelucid.com/files/pending.png(Autotest Pending image)!
!http://thelucid.com/files/pass.png(Autotest Pass image)!

The zip file can be downloaded here: “autotest_images.zip”:http://thelucid.com/files/autotest_images.zip

*Update* 17-08-07: Added ‘pending’ image for RSpec as requested by Aslak Hellesoy

Published by

Jamie

Hi, I am the Managing Director of SonicIQ Limited in the UK. I have been working in the web development industry since 1999 and have been running SonicIQ since 2001. Currently Ruby On Rails is my preferred development platform. I am experienced in designing with web standards, HTML5, CSS3 and Javascript.

8 thoughts on “Autotest Growl Fail/Pass Smilies”

  1. Jamie, could you make a yellow one too? We’ve added a 3rd type of status to RSpec (pending). I’d like to bundle this up in an RSpec plugin and release it, but I’m not very good with Gimp and I don’t have Photoshop.

    Cheers,
    Aslak from the RSpec team

  2. Thanks Jamie!

    Since I’m one of the main developers of RSpec I’m obviously biased, but the main benefits you get are:

    * Self documentation. The specs *are* the documentation.
    * A different mental picture when you do TDD – your focus shifts and you end up with better code.
    * Built-in diff and colours
    * Built-in mocking
    * In Rails, allows you to test each M,V,C in isolation
    * A more natural/DSLish way to write assertions.

    Like most new things you’ll only realise the benefits if you try it out ;-)

    Aslak

  3. Aslak: No problem, leave it with me. I’d like to see the RSpec version in action, I’m still using Test::Unit as I’m struggling to see the benefits of moving to RSpec. I’d like to hear your views on RSpec vs. Test::Unit.

  4. Aslak: I will give it a try especially if you are building in Growl notifications.

    I’ve added a ‘pending’ image. If you are going to be packaging it with rSpec would you mind putting an acknowledgement with a link to this site and/or “www.soniciq.com”:www.soniciq.com. Thanks, Jamie.

  5. I’ve taken your smilies and written an autotest growl notifier for rspec that actually works and presents a somewhat useful notification. Hopefully Aslak and the Rspec crew will be able to incorporate it (or something like it) into an Rspec plugin in the near future. Thanks for the smilies, by the way. They’re sexy.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>