¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

[TDD] Suggestion, advice on TDD adoption


 

TDD with existing non-TDD'ed code often is actually WELC (Working Effectively with Legacy Code, see the book of that title by Michael Feathers), which is orders of magnitude more difficult. ?I advise you to start TDD with net-new code. ?It could be new methods within existing classes, if you don't have any truly greenfield areas of code to work on.

Al


On Wednesday, April 6, 2016 4:53 AM, "poojawandile@... [testdrivendevelopment]" wrote:




HI,
We have recently started using TDD. We have gone through the training, learned some of the TDD good practices/challenges, using junit, mockito tools/framework etc. Since its an early start to the journey, I would be glad to hear some practical advice from folks here, some of the DOs and Dont's, tips and tricks etc. We are going to have a bumpy ride, especially with exisitng code, so it will really help if we can hear from experinced people.?

Thanks,
pooja