Archive for the tag 'tdd'

Jan 16 2009

Setting up testdata with test data builders

Published by under Java

Doing TDD has become a way of life for me. One the one hand tests are the security net that lets me refactor my code, but is also a restricting force when it comes to changing code. Experience has showed that when I refactor, I also break a lot of tests that’s not relevant for [...]

3 responses so far

Dec 01 2008

Clover saving time in development

Published by under Java

I read this post about Clover and using it to minimise the number of tests run. A nice idea, so I decided to have a go at it.
What it does is use the test-coverage that it was originally written to do, to figure out which tests exercise which classes. So when you change Class1 and [...]

3 responses so far

Mar 06 2008

GUTs and BUTs

Published by under Java

Alright, so it’s a cheap one, but I had to do it. Alistair Cockburn coined the term GUTs – Good Unit Tests in a blog entry. Having a term for it was a bit of an eye opener.
I do TDD, but it’s not always the way I do stuff so I’m not religious [...]

No responses yet