1407
Tests are code too (lemmy.world)
submitted 11 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
[-] ICastFist@programming.dev 12 points 11 months ago

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

[-] loutr@sh.itjust.works 13 points 11 months ago

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

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

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

load more comments (1 replies)
load more comments (2 replies)
this post was submitted on 02 Nov 2023
1407 points (98.6% liked)

Programmer Humor

32291 readers
491 users here now

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

Rules:

founded 5 years ago
MODERATORS