How do you motivate peers to become better developers?
How do you promote and how do you assure that in your new project best practices like unit testing, TDD, separation of concerns, SOLID principles and others are applied and used?
I’m trying to get there by setting a high target for the unit testing code coverage. I am thinking that to be able to properly test your code you are forced to do a better code design. However, this is going not going too well. After a few months we have projects with low code coverage and bad, ugly code.
I have the impression that the benefits of best practices mentioned above are not well understood and embraced by the team.
Your ideas on how to go to higher quality?