My presentation at http://www.agiletourlondon.co.uk/ …
My presentation at http://www.agiletourlondon.co.uk/
Code examples at https://github.com/uberto/tdd-awry
A voyage into today Java enterprise worse practices.
Have you ever seen 10 mocks used to tests a couple of lines of code? Beans with tons of getters/setters? The same code repeated all over again with little differences? The three pasta antipattern: spaghetti, ravioli and lasagna.
From my personal experience, some examples of terrible code, written trying to follow industry best practices and TDD. Understanding the design and the goals, will help to find the way to improve it.