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

25 March 2007

I hate British Summer Time

Filed under: Rants — Kerry Buckley @ 11:05 am

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.

(more…)

23 March 2007

Shutdown Day

Filed under: General nonsense — Kerry Buckley @ 4:14 pm

Shutdown Day Tomorrow is Shutdown Day.

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

[Update] I managed. Did you?

14 March 2007

Gratuitous rant

Filed under: Rants — Kerry Buckley @ 7:18 pm

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.

13 March 2007

cruisecontrol.rb

Filed under: Agile,Java,Rails,Ruby,Software — Kerry Buckley @ 7:13 pm

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

(more…)

11 March 2007

DRYing out model specs

Filed under: Agile,Rails,Ruby — Kerry Buckley @ 9:10 pm

[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.

(more…)

1 March 2007

Testing trivialities … and double-entry bookkeeping

Filed under: Agile,Ruby,Software — Kerry Buckley @ 9:04 am

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).

(more…)

Powered by WordPress