Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by closeparen on Friday November 25, 2022 @03:05PM
(#33746233)
This is 95% of tests I read and write at my job.
[ Parent
| on HN ]
Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by icedchai on Friday November 25, 2022 @04:04PM
(#33746728)
It wasn't that bad at a previous job, but it was close. The sad part is nobody else would comment on the useless nature of these tests that didn't actually test anything.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by closeparen on Saturday November 26, 2022 @03:35PM
(#33756438)
I’ve had other engineers make very condescending remarks about these kinds of questions, as if I don’t understand the value testing or quality at all. It makes them look mature and responsible, and me immature and short-termist. I quickly learned not to bring it up, especially not in front of management.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by icedchai on Saturday November 26, 2022 @06:32PM
(#33758106)
It's true. I mean, I wouldn't comment on them either. I'd just roll my eyes when asked to review another 4000 line "test suite" that upped the coverage but did not test anything meaningful. I wrote many useless tests myself, assigned tasks like "upping test coverage for module XYZ." They'd all get thumbs up and looks-good in reviews.