Sometimes you may question “Why should I write tests? Why TDD is important?”
I think this little moment of success can explain a lot of things…
My tests here are run under 3seconds. This means, I’ll get an immediate feedback from my tests if I break anything….
What is the result of not writing tests?
- Instead of only spending 3 seconds of my dev time, I’m going to waste a lot of other people’s time in my team by expecting them finding out the issues by manual testing. Immediate feedback as in 3 seconds is extremely valuable during development.
- Plus, I’ll loose trust of my customers too by unintentionally asking them wasting their time using my software and only finding out the bugs…
Of course, there are moments we have to ask our team to test manually but it should be as minimum as possible….
What do you think?