3 ms·
"Anti-Pattern 2 - Having integration tests without unit tests" The first project I worked from after graduating had this problem when I came onboard, all the t
by pimmen 9y ago
"Anti-Pattern 2 - Having integration tests without unit tests"
The first project I worked from after graduating had this problem when I came onboard, all the tests were slow as all hell and 80% of each test did the same thing (clearing the entire database and seeded in new test data, for every test). I felt like I made a mistake becoming a programmer because of how gruesome this anti-pattern is when you work with big Java applications.
Then we hired a senior developer three months later who promptly started breaking up the tests after checking with the team if that was ok. The productivity of the entire team increased by many orders of magnitude!
- kkapelon 9y agoYes this is exactly what I was talking about. The anti-patterns are mentioned in order of appearance, so this is very common. Don't let problems like these disappoint you. There are companies that don't suffer from any of these anti-patterns