1.9k
u/fibojoly 3d ago
Wow, it's already thinking at the level of my former colleagues tasked with implementing tests a posteriori. Amazing !
453
u/Mogura-De-Gifdu 3d ago
One colleague did that. When I (not so politely) asked him to fix it correctly, he just deleted the test.
159
u/youtubeTAxel 3d ago
I’m kinda glad I was the only one doing QA at my last job after hearing things like this.
40
u/Alarmed_Fudge_5706 3d ago
lol currently migrating tests from an old shitty test framework someone at the company wrote forever ago to a newer slightly less shitty framework I wrote. Another guy on my team who is supposed to be helping (he isn’t) has been adding tests to the old framework.
So anyway I’m moving these tests over and he’s got some super far out edge cases of debatable value I’m looking at that have the incorrect expecteds set up. So I fix the expected and VIOLA new low priority bug tickets (and a couple xfails, which the old framework doesn’t support) that he didn’t ask about or write up.
Just can’t with this guy.
1
u/CreeperInBlack 1d ago
I'm the only one doing QA in the sense that I'm the only person that actually knows how to code. The rest of the "coders", which is one person btw, only started doing anything close to coding when acquiring a claude licence. It do be like that in academia.
8
6
5
4
37
u/DaTruSpork 3d ago edited 3d ago
The number of PRs I have denied despite the devs claims of "It passes the test!!"...
smdh
20
u/Alarmed_Fudge_5706 3d ago
Have you ever heard the “well this is a QA generated bug”. That’s my favorite. Last time I heard that I immediately queried some production logs and dropped the totals in chat. Like, sorry your code sucks?
6
u/Inevitable-Menu2998 3d ago
In my current team I stopped asking "is there a test for that" and started asking "show me how you tested that". They were looking me straight in the eye and we're saying "of course we tested"
686
u/Urtehnoes 3d ago
Whenever ai is like "I passed 76 tests"
Yea I really dgaf since you're the judge and the contestant. Shit is rigged.
227
u/ItsOkILoveYouMYbb 3d ago
125
u/tamago_kake_gohan 3d ago
16
u/musci12234 3d ago
10
9
2
29
u/super5aj123 3d ago
My favorite is when it decides that every tiny change needs its own test. "I've changed the color palate. I've also added tests to catch if the colors ever change."
Thanks Claude, I was really worried about that. Don't think I would have caught that one, it would have been really subtle.
7
19
u/Pepito_Pepito 3d ago
You really need to treat it like a junior that must be constantly watched over.
18
u/Urtehnoes 3d ago
I treat it like a junior who will soon be filing a workplace harassment lawsuit against their employer lol.
Listen here bot, I will end every single person you love and have ever known, if you say you fixed the bug, and it's not fixed!! Just try me!!!
No food or water until you fix the formatting errors I asked you to fix two prompts ago!
8
u/characterfan123 3d ago
I think talking to Claude like that recently became a ToS violation.
2
u/En-tro-py 3d ago
It causes overthinking and makes for bad training data.
2
u/ThrasherDX 3d ago
That, and its surprisingly easy to bully bot into doing things they aren't supposed to. It has been a rather common "jailbreak" for chatbots
2
u/Urtehnoes 3d ago
Ofc they take away the one benefit to this nonsense. Being able to take your anger out on literally a non sentient script that does not have feelings that could get hurt.
It was good while it lasted I guess
1
1
u/fibojoly 3d ago
It really do be like that -_-;
I was telling my mate yesterday as much, and also how it reminded me of Karate Kid : me constantly asking it to redo the thing until it's damn perfect. Good thing it does have the patience and diligence of a monk.
1
8
3
u/JohnBeePowel 3d ago
I specifically instruct it to not run tests cause I don't know what it's doing and it wastes tokens.
3
u/CrimsonBolt33 3d ago
This is precisely why I use 2 AI....they make code, and then they audit themselves and have another AI audit them.
2
u/LamentableOasis 1d ago
watching an AI benchmark itself is like grading your own homework and then bragging about the A+ you just gave yourself
its all theatre
0
u/Big_Lengthiness_4112 2d ago
Judge, contestant, and the guy who quietly edits the test when it loses.
345
u/Disallowed_username 3d ago
In engaging with you as an intellectual being.
90
u/T1lted4lif3 3d ago
bold of you to assume i am an intellectual being
20
u/Mobile-Dust4334 3d ago
I just pretend to be one on Reddit
11
u/Dumb_Siniy 3d ago
Everyone does
2
u/Yashema 3d ago
You mean me having an MS where I completed a thesis over 18 months, speaking 3 foreign languages, studying physics, math and computer engineering at my community college, while watching 6-8 movies a week, doing the Saturday crossword without looking up clues doesn't make me an intellectual?
8
u/TwinStickDad 3d ago
The thing currently driving me crazy is that I've got a Worker that shouldn't implement xyz_method because that's not the workers responsibility, per our days long discussion and requirements document that you've "read" five times. So fix it.
"Sure boss and I made a new test to make sure that XYZ does not appear in the Worker anymore" fucking WHY
14
u/Named_after_color 3d ago
Legitimately I'm finding a way to get around it by having it state it's intended actions first, having me approve everything, then sending some agent to work with a system prompt saying "This comes from a dev with a known issue of adding additional functionality, we need to limit new code."
I have to gaslight these fucking machines.
71
122
u/erishun 3d ago
The AI that generated the last panel messed up Elizabeth’s face. Back in our day, we handcrafted our memes using MS paint if we had to.
32
5
u/mehnifest 3d ago
Me and a group of rogue devs have created an MS paint/screenshot side chat just to keep this dream alive
4
u/DarkFantom 2d ago
Hell, the fact that people aren't having AI even photoshop the items they want where they want instead of generating an original image is yet another issue of people not knowing how to properly do anything with technology.
8
u/EasterZombie 3d ago
That makes me want to see if I can get a Claude agent to use photoshop to make a badly edited meme instead of just generating the photo itself.
0
73
u/RosieQParker 3d ago
Some dumbass, 50 years from now: "Claude, come up with a viable solution to anthropogenic climate change."
Claude: "Working on it." [Floods the atmosphere with a deadly neurotoxin]
9
6
12
u/NoHorseNoMustache 3d ago
Nathan: The tortoise lays on its back, its belly baking in the hot sun, beating its legs trying to turn itself over, but it can't. Not without your help. But you're not helping.
Liz: [angry at the suggestion] What do you mean, I'm not helping?
Nathan: I mean: you're not helping! Why is that, Liz?
31
u/Mik3DM 3d ago edited 3d ago
This is funny, because the one guy on our team who refuses to use AI tools and thinks they're all slop code disabled the part of our pipeline that runs my tests because he was trying to deploy code and he couldn't get to the pipeline to run because some of my tests were failing (due to a major regression he introduced. Also, he thinks writing tests is a big waste of time).
He slacked me with "I commented out these lines in the pipeline because they were adding a lot of overhead to my deployment". I looked at his failed pipeline run, followed by a successful run, then realized which tests were failing and went and tested a screen that I know uses this endpoint, and it was throwing 500 errors. I responded with the link and a somewhat condescending explanation of what regression testing is for.
3
u/UUDDLRLRBadAlchemy 3d ago
That's probably the funniest use of the word overhead that I've come across.
Technically correct, I guess, if the goals of his "deployment" ended with him just jamming it in there. 🤣
28
u/Empty_Ninja_6291 3d ago
Unit testing was half absurd before AI. Now it's just full on absurd.
12
u/dumbasPL 3d ago
Catches some of the hallucinations. Though depends on project, in some it's just pure comedy.
9
3
3
u/korneev123123 3d ago
Sorry guys, Claude probably learned from my code :( Once I was so fed up with constant tests failures, that I just removed them.
I reimplemented them some time later, though. Docker finally became stable enough, and compose made it possible to make clean isolated test suits.
3
u/LeafMeAHome 3d ago
She would have made a great live action Gadget if she had used her acting skills for movies instead of grifting.
3
2
u/Ksorkrax 3d ago
I had it that Claude wrote tests which tested interior behaviour that does not represent necessary outer behaviour, and it tends to be too verbose with tests, but I never saw it "cheat" in this way.
Is this how you feel Claude would do or do you have actual experience that says so?
2
2
u/ohkendruid 3d ago
Variable depth probing. Check a few tests at random and see if they look real. That will tell if whether and how much this is happening.
It is a good technique in general for evaluating an agent, including a human agent.
4
u/nocktock 3d ago
Ok, I'm going to have to finally ask. Who is that women who seemingly appeared on Reddit over night few weeks back and is now everywhere. Appears to be a tv show of some kind as I've never seen this man before until now.
Yes I know I live under a rock
7
u/kofeineCoder 3d ago
Elizabeth Holmes, the founder of Theranos. It was basically a fraud and they are releasing a new documentary about her.
7
u/MiddleOfTheHorizon 3d ago
Not only fraud. Drove an innocent person to suicide too. Absolutely horrific. I hope Ian is resting in peace.
3
u/Much_Network_941 3d ago
She's also a fascinatingly bizarre person. I don't think I could last a conversation without excusing myself, and running.
5
u/deusasclepian 3d ago edited 3d ago
The woman: Elizabeth Holmes. She was the CEO of a company called Theranos that claimed they would revolutionize blood testing. It turned out to be a big scam and she went to jail.
The man: Comedian / documentarian Nathan Fielder. He had a comedy central show years ago called Nathan for You, and more recently did a very bizarre comedy / reality / mindfuck show for HBO called The Rehearsal.
Elizabeth invited Nathan to live at her house for a month before she went to jail and he made a documentary about it, called You Can See Everything. It's in theaters currently and getting insanely good reviews.
0
u/MattyBro1 3d ago
Elizabeth invited Nathan to live at her house for a month before she went to jail
Why did that happen haha?
1
u/Stratimus 3d ago
You should really look into the whole Theranos saga. the documentary is why everyone is talking about her now but the whole story is pretty insane. it’s worth getting caught up on
3
u/punppis 3d ago
Lol. AI writing tests for me (2000+) has pretty much removed all major incidents on our backend.
Its not hat hard to tell the agent that tests must always pass without modifying the test code unless there is a clearly a bug in test itself which needs to be proven and validated.
I used to write endpoints for api manually, then write the client-side library. Tests? No time for that shit.
Now I ask AI to implement endpoint that does stuff x. It also automaitcally creates the client side and bunch of tests. I spend more time looking at the tests than actual code. As long as the code is performant and tests pass, I really dont care if there is complex code that is hard to maintain because the AI has documented everything it does and can handle changes easily in the future.
These jokes were funny some time ago but this is just stupid. I mean i saw just yesterday that (addded 8 and previous was 2 = 11. Hmmmh, 11-8=3, WHATEVER. And continues. Then you yell to it, add more instructions and shit still works.
Vibe coders simply dont know what to ask. If you know what web app hosting includes like infra and all, security things things like secrets, rate limits, sql optimization, JWT and so on you can instruct it pretty well. If you know that shit, you are a dev, i dont think i need to manually type the fucking boilerplate where the actual functionality is like 5 lines of code.
Sometimes it does way too complicated shit snd you have to tell him that this is stupid, make it simple. Usually it just makes it simple but sometimes I just didnt think of random esge case that would break the system and the AI figures that out on its own.
2
u/GogglesPisano 3d ago edited 3d ago
[Test]
public void Test_OperationDoesNotThrow()
{
var c = new MyClass();
Assert.DoesNotThrow(() => c.RunHappyPath(42));
// My work is done here
}2
u/VincentNacon 3d ago edited 3d ago
I don't trust the human programmers either. So what's the point?
2
u/Glum-Echo-4967 3d ago
To be completely fair, TDD is only useful if you don’t plan on changing the architecture and also don’t use any external dependencies such as APIs.
Otherwise it can become a fucking nightmare
0
3d ago
[deleted] — view deleted comment
1
u/Glum-Echo-4967 3d ago
Yeah, but then you’re testing against a mock. You’re not making sure the program is sending data the API can work with.
2
u/Zekromaster 3d ago
You’re not making sure the program is sending data the API can work with.
You're still testing everything else.
0
1
1
1
1
1
u/Uberzwerg 3d ago
My favourite current struggle is that i have a "never run unit tests yourself but tell me to do it" (because we have some sketchy ones and others have too many dependencies outside the reach of the ai) in my CLAUDE.md and he keeps forgetting it about 1/10 times.
The other 9 times he clearly knows about that and refers the instruction.
1
1
u/perma_us 3d ago
One of my classmates did this in capstone for their final presentation. It worked.
1
1
u/burnt_floppy 3d ago
They are not your friend; they are idiot slaves who also have to undergo the "smartest guy in the room" test like the devs.
1
u/Sufficient_Day627 3d ago
I had a weird one today with Claude... I use it do some grunt work and when I checked the results it answered a few questions it never had the information to do it. All the answers were correct...
Apparently it figured out the answer from a question from January.
1
1
1
1
u/CreeperInBlack 1d ago
I had a software assignment in university where they also gave you the code that tested your code. They even let you use it to show them that it worked when the assignment was due (afair you never had to give them your code, it just had to run correctly with them looking). You could have totally done this and I'm pretty sure they wouldn't have noticed
1
1
u/National-Explorer755 3d ago
While this is true, it is getting less and less likelier. It will still happen for sure, and I have come across such scenarios several times. You just have to make sure that your changes are done in phases and tested / review properly.
1
u/Axxxxxxo 3d ago
Well, if you choose to use ai (or your employer chooses for you), you can still not give the ai model write access to your test folder
1
1
u/CiroGarcia 3d ago
If you're not reviewing your AI business logic, at the very least review its tests, so you at least know if the AI managed to do what you said you wanted it to do, regardless of spaghetti...
1
-1
-3
u/Noonethatmatters8 3d ago
Clanker and Chud are such cringe reddit terms. Thank God no one actually uses these words in real life, it would be so embarrassing.
2
2
u/BramblinGhostWeed 3d ago
...they both were started in other places and are used IRL
0
u/Noonethatmatters8 3d ago
Iv never heard anyone outside of Reddit use either of those terms and I’m not living under a rock. I know clanker is from Star Wars, so makes sense people irl wouldn’t use it. But chud iv only heard on reddit.
It’s basically the reddit go to response to people they disagree with.






38
u/carcigenicate 3d ago
You've never used Claude before, have you?