I'll admit it: For the first 10 years of my career, I thought tests were a...
I'll admit it: For the first 10 years of my career, I thought tests were a waste of time.
Now I realize tests *save* me time.
How tests help:
✅ Run the app for me
✅ Improve my designs
✅ Protect me from rework
✅ Automate repeated checks
✅ Document my intent for others
If you're skeptical about tests, don't worry. I was too. Like any skill, at first it feels awkward. It slows you down. It feels like a waste.
But I've found as my coding and testing skills have grown over the years, the benefits of testing have become increasingly obvious.
And great news: the latest tools are so good that testing is more approachable than ever.
Modern tools like React, Vue, etc are designed in a way that's friendly testing.
@fbjest and @TestingLib make unit testing more elegant than ever before.
And @Cypress_io is 🔥.