Why unit testing can be hard?

1 · Arnaud Langlade · May 3, 2021, midnight
Why unit testing can be hard? @craftedbygc Unit tests are typically automated tests written and run by software developers to ensure that a section of an application (known as the “unit”) meets its design and behaves as intended Wikipedia I remember when I started to test my code it was really hard! It was mainly because I misunderstood some basics like what testing was about and the need of well-designed code. Unit tests ensure your code works as expected, but we often forget that unit testi...