Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: Why the Linux Kernel doesn't have unit tests?. Parent comment
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.
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.