Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kiki351887yI never write tests. I just can't. Every time I try, my head aches terribly. don't know why
-
Unless your major into Q/A or DevOps writing test cases suuuuuuuuucks. I find I spend longer writing test cases than the actual work itself!
-
Sure it takes more time but at the end there is less bugs in the code so it's not wasted time.
-
Yes, to be fair testing is really important. Good testing helps hash out bugs in poor code and also im sure gives you brownie points with the QA team because your catching things early on that they don't need to spend time wasting to check.
It's just good testing rarely ever happens thanks to over zealous PMs and crazy clients asking for things today and deployment of them yesterday. -
If you spend more time testing your code than building it, you probably have a flawed design.
-
@vlatkozelka If you want to continue spending countless hours writing tests due to your designs then feel free to ignore me. I’m just trying to help out.
I now know why people don't write tests.
Been trying to get started with React unit tests for weeks now.
Hope Driven Development FTW.
rant
react jest enzyme