Why write tests if they will be ignored?
Classic misuse of this meme where the right side is still intermediate
This sub is the champion of misusing the meme
Plenty of people that are in the left side believe they are in the right side.
It's even worse.
Being on the left side makes it actually more likely to believe to be on the right side.
Yes. The phenomenon is called Cunningham's Law I believe.
This comment is just the best kind of bait.
That's not how the meme works
Reminds me of this friend's startup that was built to be scalable to 10's of millions of users and hundreds of developers for months and months and months. They have about 100 users and running out of $.
Coverage says basically nothing about how well tested the software is
OK but deploying with failed tests tells me a lot
Definitely
Don't show my PM, he'll get cursor to add it
Alright, whose project manager wrote this?
considering how normal it is to test your code and how pretty much every developer hates it - it’s weird there isn’t a bigger demand for software testers with an engineering background to help creating more valuable unit test suites so we don’t have to give a shit about coverage anymore.
Windows be like:
after fighting all day with tests I can proudly say we have gone from 56% to 57% test coverage. We are no longer in the last group
The badges help you get users. The users help you realize the badges mean nothing.
No, the tests would be passing on the right.
But coverage would be for the important parts, and would actually test shit, and not just run code lines.
No experienced developer has tests that doesn't pass, since everything is automated based on the tests passing. But a senior also knows when prioritize testing, instead of just chasing a metric for the percentage of lines ran.
Often times I'll see formatting or linting checks combined in with tests, and those often fail even when tests pass. I usually see it when a project uses standard library items that are later deprecated.
Those would usually be done on PRs by themselves and not as regular tests, but sure, PRs would require them to pass as well.
They'll usually be part of a pre-commit hook to format the code to the project's standard.
If lint fails you don't let it merge, and it can be fixed with one click.
I've also seen huge projects with tests flakier than grandma's pastry
Yeah what crack is the person smoking putting on the right? It’s not hard to get high coverage though. It’s hard to get it set up for high coverage but that’s about it