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
-
Root797344y@neeno I often don’t even check my code in a browser. I write several thousand lines of specs, and when they all pass I’m happy with it and let QA and product handle the rest.
It’s been ... six projects of various sizes now and I’ve only had a few minor issues. Most of the pushback has been from product miscommunicating requirements. 😇 -
asgs112794yI'm happy for that Dev. At least tried to convince that not testing anything is worse than some testing
-
@Root several lines of spec, ok how can a mortal like myself produce that many lines of spec for one application?
-
C0D4669444y@TeachMeCode
Well... it normally takes a few years but you eventually get 7 digits in the git changes, or you just import a monster then maintain it.
For example, this is just 1 of many projects I maintain. -
C0D4669444yWho needs tests, they don't prove anything, I'd rather no tests then assert(1 = 1) 🙃. I used to work with a dev that did that, pissed me off like nothing.
-
Root797344y@TeachMeCode one application 😅
This is for one feature. Large feature, but still just a feature.
@C0D4 Importing a monster is totally cheating. That goes in your dependency list. Fork if you must, but keep the code separate if possible.
As for specs... how do they not prove anything? Stupid specs are stupid, I agree. So don’t write those (except as sanity checks). Write proper functionality and integration specs instead. Helps with future refractors or when changing seemingly unrelated code. Also helps juniors know when they’ve seriously broken things.
Related Rants
I don't care how bad your testing suite is, it can't possibly be worse than this
rant
testing