July, 2009


23
Jul 09

Argggg Testing

I just found this lovely little gem on the JUnit sourceforge page (http://junit.sourceforge.net/doc/faq/faq.htm), and it made me smile…

becomeTimidAndTestEverything
while writingTheSameThingOverAndOverAgain
    becomeMoreAggressive
    writeFewerTests
    writeTestsForMoreInterestingCases
    if getBurnedByStupidDefect
        feelStupid
        becomeTimidAndTestEverything
    end
end


22
Jul 09

Pdf Assert

I’ve been working with the folks in Standard Life Investments recently, and I’ve been on an automated Fund Fact Sheets project.
It’s an interesting project, in that external vendors supply the system as per spec.

So, one of the things we’re doing is shipping Acceptance Tests as spec. One of the outputs of that spec is PDF reports.

I’ve initially spiked a PDF regression testing tool (like for like comparison) and some features that you can use for Acceptance Testing.
I then went away and wrote this TDD for them, but I’m interested in knowing if anyone else would find this useful.

If so, I can re-write the spike and release it. Add a comment if you would like to see this…