1404
Tests are code too (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] dan@upvote.au 12 points 9 months ago

I've written some tests that got complex enough that I also wrote tests for the logic within the tests.

[-] AAA@feddit.de 7 points 9 months ago

We do that for some of the more complex business logic. We wrote libraries, which are used by our tests, and we wrote tests which test the library functions to ensure they provide correct results.

What always worries me is that WE came up with that. It wasn't some higher up, or business unit, or anything. Only because we cared to do our job correctly. If we didn't - nobody would. Nobody is watching the testers (in my experience).

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

Programmer Humor

31687 readers
542 users here now

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

Rules:

founded 5 years ago
MODERATORS