Unit Tests Across The Bell Curve
Description
The image is a bell-curve meme about the relationship between actual code and unit tests. Along the curve are three small paired panels labeled "ACTUAL CODE" and "UNIT TESTS": the left low-IQ side shows lots of code and an empty tests panel, the middle shows little actual code and a large filled tests panel, and the right high-IQ side again shows lots of code with an empty tests panel. The blue curve includes visible percentage labels such as 34%, 14%, 2%, and 0.1%, with an IQ-like scale running from 55 through 145. The joke is a cynical testing take: beginners skip tests out of ignorance, process-heavy teams may drown in tests, and the supposed genius archetype skips them with enough confidence to make it sound intentional.
Comments
24Comment deleted
Both tails ship without tests; only the right tail has a slide deck calling it risk acceptance.
change 145iq to both empty Comment deleted
or what Comment deleted
or nothing Comment deleted
Left: Lots of tests. Middle: Formal proofs of correctness. Right: "Beware of bugs in the above code; I have only proved it correct, not tried it." Comment deleted
I’m using this approach Comment deleted
You also can try this: Comment deleted
this is what i have talked about Comment deleted
* if grammar is wrong ignore Comment deleted
I tried that too but my boss said it is not the best practice… Comment deleted
your boss just konws nothig about bestest practices Comment deleted
300iq mode Comment deleted
no tests bcause no bugs Comment deleted
just perfect Comment deleted
https://test.mensa.no/ test your iq Comment deleted
0.2 + 2 + 14 + 34 + 34 + 14 + 2 + 0.2 = 2*(34+14+2+0.2) = 2*(48+2.2) = 2*50.2 = 100.4 Comment deleted
why do percentages sum to >100? Comment deleted
0.1* Comment deleted
doesnt change that much Comment deleted
yup🙄 Comment deleted
I don't write unit tests, I only use integration and e2e tests. Unit tests are useless waste of time in 99% cases Comment deleted
iq 120 btw Comment deleted
Buuuuut it'd mean having to actually fix the bugs found. Comment deleted
... what if there is a bug in unit tests Comment deleted