Initially, writing tests was not a natural process for the author and felt like an optional chore.
The author used to believe testing was something to be added later, similar to documentation or error handling.
However, after facing a bug in a function written months ago, the author realized the importance of testing and how the mindset of skipping it led to consequences.
The realization of the significance of testing came not from a major production failure but from a minor bug in a helper method.