Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by thayne on Friday November 25, 2022 @11:11PM
(#33749835)
I think the same is true of any sufficiently complex project. There are areas where unit tests are valuable, and areas where the costs outweigh the benefits. There isn't anything really special about a kernel in that regard (except for the specific things that aren't worth unit testing).
[ Parent
| on HN ]
Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by closeparen on Saturday November 26, 2022 @03:47PM
(#33756561)
In a commercial setting, unit test coverage inevitably becomes a KPI that needs to be driven upwards regardless of whether rank and file engineers consider it worthwhile in particular cases.