Jan
16
2009
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 [...]
Tags: mocking, tdd, test data, unit testing
Dec
01
2008
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 [...]
Tags: clover, cobertura, compile, Java, maven, optimization, spring, tdd, test
Mar
06
2008
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 [...]
Tags: agile, tdd, unit testing