DEV Community

Mahmut Canga
Mahmut Canga

Posted on • Originally published at mahmutcanga.com on

A Moment of Testing

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?

  1. 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.
  2. 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….

Top comments (0)