DEV Community

Talking Testing: the love and hate of Unit Tests

Yeqing (Marvin) Zhang on October 11, 2022

Introduction "No code is the best way to write secure and reliable applications."--Kelsey Hightower Many developers have probably mor...
Collapse
 
yuhuishishishi profile image
I love integers

The very moment I realized the importance of unit tests is when I need to write a common framework and infra for other people.
It's very natural to first figure out what you want to achieve from other people's point of view and write them down in terms of tests. Then complete the implementation until you have passed all your tests.