Published at: 10:08 am - Sunday August 22 2010
How many databases run in your teams development environment? One for the complete team? I have seen many places like that, but please tell me: Why? You aren’t working on a shared files system aren’t you? How is a developer supposed to change the structure of that database without interrupting the work of the other [...]
Published at: 10:08 am - Sunday August 15 2010
Sometime ago I blogged about JUnit @Rule Annotation. In the meantime I got the chance to use rules in a real project. I must say: Rules rock! Let me tell you about my use cases. I am working on a Swing project (It’s OK, it’s not as bad as it sounds). We have many tests [...]
Published at: 06:07 am - Sunday July 18 2010
Question: what are the properties which make a test a good unit test? If you have a good answer, check out my answer and add to it in the comments. If you don’t here is mine. Long Descriptive Name: For example returnsNullWhenCalledOnEmptyList is a nice name for a test Simple Clean Structure: A test performs [...]