this post was submitted on 02 Nov 2023
1414 points (98.6% liked)

Programmer Humor

32710 readers
233 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] 11 points 1 year ago (2 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] 9 points 1 year ago

Yeah blackbox testing is a whole thing and it's common when you need something to follow a spec and be compatible

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

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