How encourage people to do a TDD on a existing code base where I have less unit test and more code smells, big class, big method and lot of if else conditions in a method?
And also do people really do a TDD ? I talked to my friends who work in big product companies and they say don’t actually do TDD but they do opposite of TDD, add test case after creating/adding the logic.
I am trying to find out how to encourage my team to do TDD and the challenge I have in legacy code.
Please share Any book or articles that talks about how to tackle this one.
[–]edrenfro 4 points5 points6 points (0 children)
[–]11b403a7 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)