ProgrammerHumor

onlyFewHundredErrors

onlyFewHundredErrors
https://i.redd.it/u36ielzotfef1.jpeg
Reddit

Discussion

fiskfisk

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. 

17 hours ago
Sw429
:rust:

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.

16 hours ago
LucasRuby
:ru:

If lint fails you don't let it merge, and it can be fixed with one click.

15 hours ago
fiskfisk

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. 

16 hours ago
bwrca

I've also seen huge projects with tests flakier than grandma's pastry

12 hours ago
-LeopardShark-
:py::rust::hsk::js:

The Not Rocket Science Rule Of Software Engineering:

Automatically maintain a repository of code that always passes all the tests.

12 hours ago
8BitAce

I took this meme to be in the context of FOSS projects. 1.2k users is like the sweet spot for those projects where it's just one dude maintaining it in his limited free time and can't be assed to keep all the tests and linting up to date but the project is still 100x better than the proprietary alternative.

6 hours ago
Areshian
:cp: :j: :py:

Broken window syndrome. If some of your tests always fail, the rest that work are not really useful

EDIT: I mean to say I agree with you. Better to have fewer, relevant tests that pass and check important stuff that many low quality tests with some always failing. Even if you have the good tests, if you add bad tests, the good tests lose value

5 hours ago
s0ulbrother

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

9 hours ago
reflection-_
:cs::ts:

Why write tests if they will be ignored?

16 hours ago
Sw429
:rust:

Great point, I should stop writing tests.

16 hours ago
Mayion

16 hours ago
blackcomb-pc

Yes. I mean - you wrote the code, why write even more code that will check “yes the code you wrote is still there”. Lol, lmao even.

16 hours ago
-Kerrigan-
:j::kt:

Not sure if sarcasm or not tbh

14 hours ago
kluy18

Classic misuse of this meme where the right side is still intermediate

16 hours ago
gcampos

This sub is the champion of misusing the meme

16 hours ago
araujoms
:jla::m::c:

Plenty of people that are in the left side believe they are in the right side.

13 hours ago
RiceBroad4552
:s:

It's even worse.

Being on the left side makes it actually more likely to believe to be on the right side.

11 hours ago
babyburger357

Yes. The phenomenon is called Cunningham's Law I believe.

10 hours ago
turtle4499
:py::c:

This comment is just the best kind of bait.

7 hours ago
NordschleifeLover

We don't read documentation on memes.

1 hour ago
Kasiux
:j: :cs: :ts:

That's not how the meme works

16 hours ago
clauEB

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 $.

16 hours ago
Maskdask
:rust:

Coverage says basically nothing about how well tested the software is

16 hours ago
Byzaboo_565

OK but deploying with failed tests tells me a lot

14 hours ago
Maskdask
:rust:

Definitely

14 hours ago
AyrA_ch
:redditgold: x ∞

It tells me you're not using volkswagen

11 hours ago
Byzaboo_565

Don't show my PM, he'll get cursor to add it

11 hours ago
dim13
:g::c::terraform:

Obligatory: https://xkcd.com/844/

15 hours ago
ImSuperSerialGuys

Alright, whose project manager wrote this?

15 hours ago
USJackal

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.

11 hours ago
hyrumwhite

That’d mean spending money on something that PM’s rarely want to spend time on

5 hours ago
0lafe

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

7 hours ago
aVarangian

noob here, what the heck are tests?

6 hours ago
deanominecraft
:unity::cs::py:

list of inputs and expected outputs to make sure your code is working correctly

1 hour ago
Awes12
:cs::js::j:

Windows be like:

8 hours ago
GoddammitDontShootMe
:c::cp::asm:

So the genius has 1.2k users using his broken app? He may be a genius at something, but I'm not sure it's software engineering.

5 hours ago
Turbulent_File3904

Coverage 100 or even 95 is a lie at least in my personal experience, instead of do actual feature testing they just do whatever to cover a line of code that may be should nt be there in the first place to get high coverage

2 hours ago
Maigrette

You have the right to put yourself on the right but, just so you know, it's not how you're supposed to do it

1 hour ago
Sw429
:rust:

The badges help you get users. The users help you realize the badges mean nothing.

17 hours ago