I preach a lot about using test driven development to boss but I have been unable to use TDD myself in the project because the other developer hates writing specs since he thinks it is very time consuming.
So I just got scolded real bad for saying about TDD and using a mentor but unable to show and prove to him the benefits of TDD. I am myself confused why to use it. I only know it can help us with automated testing.
I am unable to explain to him how to do test driven development and when the architecting the solution comes into the process of TDD.
for example we are using atleast 50 if statements right now to do something but I have no idea how to convert the ifs into a rule engine and move out the logic. I just started to read about rules engine.
He scolded me about saying about TDD but still ysing 50 if statements. I was unable to explain anything to him about how TDD works and when the designing the system comes into the process