1395
Tests are code too (lemmy.world)
submitted 10 months ago by jroid8@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] loutr@sh.itjust.works 12 points 10 months ago

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

[-] Natanael@slrpnk.net 11 points 10 months ago

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

[-] folkrav@lemmy.ca 2 points 10 months ago

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

this post was submitted on 02 Nov 2023
1395 points (98.5% liked)

Programmer Humor

32054 readers
1602 users here now

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

Rules:

founded 5 years ago
MODERATORS