Autotest Growl Fail/Pass Smilies

John Nunemaker posted a handy tip on setting up autotest to work with Growl

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 Smily Devkit to make a couple of PNG’s slightly more pleasing to the eye.

Autotest Fail image Autotest Pending image Autotest Pass image

The zip file can be downloaded here: autotest_images.zip

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

Tags: , , , ,

8 comments ↓

#1 Aslak Hellesoy on 08.17.07 at 1:09 am

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 Jamie Hill on 08.17.07 at 1:29 am

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.

#3 Aslak Hellesoy on 08.17.07 at 1:51 am

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

#4 Jamie Hill on 08.17.07 at 4:22 pm

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 http://www.soniciq.com. Thanks, Jamie.

#5 Rein Henrichs on 09.06.07 at 8:02 am

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.

#6 Jamie Hill on 09.06.07 at 2:57 pm

Rein: Looking promising.

#7 Collin VanDyck on 11.10.08 at 2:17 pm

Sweet images, thanks :D On a similar vein, a while ago I wrote growl-glue:

http://growl-glue.rubyforge.org/

That makes it pretty easy to set all of this up, including images. It also has support for the Pending status as well as Test::Unit and Rspec.

#8 admin on 11.10.08 at 2:38 pm

Conlin, that looks like a great little library. Another weapon in the testing arsenal.

Leave a Comment