News for hackers. Stuff that matters.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by wankle on Friday November 25, 2022 @11:02AM (#33743608)
Completely agree. Integration tests over unit tests all day.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by wizofaus on Friday November 25, 2022 @02:27PM (#33745914)
Are your integration tests able to run quickly/reliably enough to include them in your ci pipeline?
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by wankle on Saturday November 26, 2022 @12:23AM (#33750233)
Yup. Very much so. In Java. Can't speak for other languages.
Re:Ask HN: Why the Linux Kernel doesn't have unit tests? by jeltz on Monday November 28, 2022 @05:59AM (#33772081)
Yes, and in my experience from the Ruby world integration tests are often as fast or faster than unit tests.