Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
What are your thoughts on TDD? #137
P.S. I hardly ever see any popular repos on Github that have less than 90% code coverage and I've been trying to write test driven code for sometime now but I often lose interest in a few days and start writing what comes naturally. The projects I determine not to write without TDD I never finish because I find TDD esp hard in the later parts of the project where everything is coming together like Database, Sockets, etc. In the end I'm usually skimping on writing tests because mocking classes, using spies, etc is just too much burden. Is there a way around it? Will I get the hang of it if I keep powering through and not write any code without writing tests first?
Thanks for your thoughts and guidance,