Kerry Buckley

What’s the simplest thing that could possibly go wrong?

Archive for March, 2007

I hate British Summer Time

one comment

No, not the season – the clock change. The bizarre anachronistic ritual of spending six months of the year pretending that it’s an hour later than it really is.

Read the rest of this entry »

Written by Kerry

March 25th, 2007 at 11:05 am

Posted in Rants

Shutdown Day

2 comments

Shutdown Day Tomorrow is Shutdown Day.

Can you survive for 24 hours without switching on your computer?

[Update] I managed. Did you?

Written by Kerry

March 23rd, 2007 at 4:14 pm

Posted in General nonsense

Gratuitous rant

leave a comment

Why on earth do politicians and the media keep banging on about “carbon emissions,” “carbon trading,” “carbon-neutral” and so on, when they’re actually talking about carbon dioxide? It drives me mad!

There, that feels better. I’m going to relax now with a nice glass of hydrogen.

Written by Kerry

March 14th, 2007 at 7:18 pm

Posted in Rants

cruisecontrol.rb

leave a comment

In case you missed it, those nice people at ThoughtWorks released CruiseControl.rb yesterday.

Read the rest of this entry »

Written by Kerry

March 13th, 2007 at 7:13 pm

DRYing out model specs

5 comments

[Updated 14/3/07: corrected specify_attributes as per Paul's comment]
[Updated 18/12/07: modified to avoid crazy RSpec errors]

A week or so ago I wrote about writing specs for simple pieces of functionality (particularly those that are arguably just configuration, like Rails validations). I argued that it’s important to test-drive even the simple things – however, the amount of test code can get out of hand.

Read the rest of this entry »

Written by Kerry

March 11th, 2007 at 9:10 pm

Posted in Agile,Rails,Ruby

Testing trivialities … and double-entry bookkeeping

5 comments

From time to time I end up in a discussion (as often as not with myself) about the point at which something is so trivial that it doesn’t justify creating a unit test (or behaviour spec, in more BDD-like language).

Read the rest of this entry »

Written by Kerry

March 1st, 2007 at 9:04 am

Posted in Agile,Ruby,Software