@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 7 months agoManager: This task only takes 30 minutes. Why did it take you the whole day?programming.devimagemessage-square99fedilinkarrow-up1793arrow-down18
arrow-up1785arrow-down1imageManager: This task only takes 30 minutes. Why did it take you the whole day?programming.dev@hypnotic_nerd@programming.dev to Programmer Humor@programming.devEnglish • 7 months agomessage-square99fedilink
minus-square@deadbeef79000@lemmy.nzlinkfedilink2•6 months ago If you need to run X before Y… Add a test that asserts that.
minus-squareDontTakeMySkylinkfedilink2•6 months agoWith a comment on the test detailing why it matters so people don’t just assume the test is out of date when it fails. And ideally test the underlying result of x before y, not the fact that x is called before y. And while we’re at it, assert in Y that X has been called, and again comment the reason for the preconditions.
Add a test that asserts that.
With a comment on the test detailing why it matters so people don’t just assume the test is out of date when it fails.
And ideally test the underlying result of x before y, not the fact that x is called before y.
And while we’re at it, assert in Y that X has been called, and again comment the reason for the preconditions.