Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
[TDD] Behavioral challenges in adopting TDD
¿ªÔÆÌåÓýHi there, A short answer: Patience, love, and understanding, fostered by someone who's been there/done that. Do you have any TDD-experienced folks in the team who can work with your senior dev? A primary goal when I start pairing with devs is help them out with their current challenges, by showing them useful legacy code techniques to start getting their code under control and by helping them figure out other problems and coming up with better solutions (the primary goal of pairing). Sitting with them allows me to start working in test-first as we go along, talking about techniques, values, etc. as we go. This is effective for most devs, including senior ones. (I had one lead dev tell me "I've learned more in the past two weeks than in the past two years.") The legacy themes and techniques quickly demonstrate how it's possible to make changes and minimize fear. As far as the dip in productivity, it's not hard to get someone to agree that it makes logical sense and is worth the initial dip in productivity. On one simple score, most shops don't quantify a cost to develop a given feature, since they don't take into the account the cost of rework, the additional cost to understand poor code, and the true costs of defects. Regards, Jeff Langr Software Solutions, Inc. Pragmatic Unit Testing in Java?() Modern C++ Programming with TDD () Agile in a Flash ( Agile Java: Crafting Code with Test-Driven Development?() Essential Java Style ()
|
to navigate to use esc to dismiss