this post was submitted on 02 Nov 2023
10 points (100.0% liked)

Programmer Humor

35007 readers
13 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] 1 points 1 year ago (1 children)

I remember being asked to make unit tests. I wasn't the programmer and for the better part of a week, they didn't even let me look at the code. Yeah, I can make some great unit tests that'll never fail without access to the stuff I'm supposed to test. /s

[–] [email protected] 0 points 1 year ago (1 children)

I guess it would make sense if you're testing a public API? To make sure the documentation is sufficient and accurate.

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

He specifically said "unit tests" though, which aren't black box tests by definition