I attended CITCON in Sydney and one theme that I took away from the conference is “Test Code is as important as Production Code”. Too often test code is seen as the poor cousin that does not need any attention. Common code is “copied and pasted” instead of being consolidated and reused. This results in test code that takes longer to update then the production change. A sure sign that things have gone off track is when the team says “it will take twice as long to change the test code as it will the production code”. When it comes to testers test code it gets worse! Badly commented, stuck together with bits of string and not even version controlled. Test code should have a design, regularly be re-factored, the DRY (Don’t Repeat Yourself) principal should be followed as well as standard coding techniques (version control, commenting, naming conventions etc). Treat your test code the same as you do production code and the project will be better off for it.