News for hackers. Stuff that matters.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by iLoveOncall on Friday November 25, 2022 @09:40AM (#33742763)
> They have more code that has tests than their actually running code.

I'd say that's very common and not exclusive to some specific project.

I made a change of about 30 lines of code recently, and it had 140 lines of tests (and I, by far, do not cover every situation).

I think I've rarely encountered well tested pieces of code that were not way smaller than the tests that came with them.

There are no comments on this comment yet.