jroid8@lemmy.world to Programmer Humor@lemmy.ml · 1 年前Tests are code toolemmy.worldimagemessage-square80fedilinkarrow-up11.43Karrow-down121
arrow-up11.41Karrow-down1imageTests are code toolemmy.worldjroid8@lemmy.world to Programmer Humor@lemmy.ml · 1 年前message-square80fedilink
minus-squareloutr@sh.itjust.workslinkfedilinkarrow-up13·1 年前I guess it would make sense if you’re testing a public API? To make sure the documentation is sufficient and accurate.
minus-squareNatanael@slrpnk.netlinkfedilinkarrow-up11·1 年前Yeah blackbox testing is a whole thing and it’s common when you need something to follow a spec and be compatible
minus-squarefolkrav@lemmy.calinkfedilinkarrow-up3·1 年前He specifically said “unit tests” though, which aren’t black box tests by definition
I guess it would make sense if you’re testing a public API? To make sure the documentation is sufficient and accurate.
Yeah blackbox testing is a whole thing and it’s common when you need something to follow a spec and be compatible
He specifically said “unit tests” though, which aren’t black box tests by definition