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
-
black-kite3071275dI can understand your frustration.
But I’m sure what you’re describing as not possible IS in fact possible -
huskut49274d@jestdotty haha, surely wasnt targetted against you! unless you also will be annoying as the jest testing framework...... jk ;)
-
fullstackcircus9915274dI've... oddly been having decent luck with jest recently...
but only because I've been using it purely in the unit test sense -> single unit of 'something' (class or function) under test
i agree as soon as you start doing anything in the direction of integration, you need mocks, etc. etc. then it indeed goes all to cancer
people argue mocks are a testing code smell, but those people also don't know what integration tests are / real software looks like
🤡🤡🤡🤡🤡 -
huskut49273dI by the way wrote this after an 9 hour workday in which I was struggling on tests for like 6-7 hours. I eventually found a way to do what I wanted and that I was somewhat reasonable with, however I still hate it that I have to do it in such a way and that its not well documented.
so still, fuck jest. (the testing framework not the person)
Related Rants
-
FlyPigFly6With all the major library/framework overhauls in the JS community, I feel we may need to start versioning in ...
-
xprnio1So, I just realised that a contribution I made to an open source project 12 days ago had gotten accepted 3 day...
-
lordfingle3Jest addin for vscode: The Good - I love how it's running all the time testing my code The Bad - Doesn't s...
FUCK JEST. ITS ALL SHIT. I CANT HAVE A DIFFERENT MOCK RESULT FOR ONE TEST AND KEEP THE OTHERS THE SAME WITHOUT REWRITING THEM.
THIS IS THE REASON NOBODY REALLY WANTS TO DO TESTS, NOT BECAUSE THEYRE STUPID BUT BECAUSE THE FRAMEWORKS ARE THE PINNACLE OF CANCER THEMSELVES.
rant
jest