this post was submitted on 04 Nov 2023
856 points (98.4% liked)

Programmer Humor

32503 readers
425 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 1 year ago (3 children)
[–] [email protected] 16 points 1 year ago

It's the kind of testing my colleague would do. "well, nobody would be idiotic enough to enter something weird when they are asked for a number". And so he'd only write tests for numbers. That kind of stuff.
The unit tests I'm looking at in this latest jobs are some primo "dev testing" bullshit. Their sole purpose clearly was to be able to say "we unit test our code in our pipeline and it all passed" and that's about it. Ugh.

[–] [email protected] 9 points 1 year ago

As per xkcd, dev testing would return the response "could not reproduce"

[–] [email protected] 7 points 1 year ago

Gotta make sure the code runs.