First of all, let’s begin this question.
Why do we need test?
Let’s take a look at Kent Beck’s speech Ease at Work at Agile Singapore 2013 Confluence.
In his speech, he addressed these questions.
- Why are programmers so often ill at ease with themselves?
Difficulty, great effort, or hard work.
Worry, pain. - What can we do to become comfortable in our own skins?
Writing Test to ensure that what we code does what it’s supposed to do.