Possible Duplicate:
How do I convince programmers in my team to do TDD?
What are some of the best ways to encourage and instil the TDD habit into a team that has never used TDD?
Can anyone share their experiences with the right and wrong way to get a team using TDD such that they find it effective and want to keep using it on all future projects?
This may be simply getting you out of the frying pan and into the fire, but we've found that the best way to really convince people to adopt TDD is pair programming. TDD is one of those things that most people will intellectually know is effective, but they won't consistently apply it until they feel the benefit in their gut. Convincing a person's gut usually involves having someone sit with them and really do TDD for a time -- for some people this is a few days, for some a few weeks -- until they have that aha! moment when TDD saves them hours of debugging.
If people don't want to do it you'll have a hard job convincing them of the benefits. If they are just unaware of it or agnostic, I'd recommend discussing it with them (maybe a presentation? team meeting?) and then offering to pair with them to fix a few bugs in that fashion - hopefully, they'll learn the benefits through experience.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With