Re:Ask HN: Why the Linux Kernel doesn't have unit tests?
by yjftsjthsd-h on Friday November 25, 2022 @02:35PM
(#33745973)
> It is good to know that your base64 encoding function is tested for all corner cases, but integration and behaviour tests for the external interface/API are more important than exercising an internal implementation detail.
Okay, but Linux has internal implementations of base64, assorted hashing algorithms, some compression, probably other algorithmic tidbits; wouldn't those be easy to test?
Edit: And downthread people are saying that Linux does do that:)
Okay, but Linux has internal implementations of base64, assorted hashing algorithms, some compression, probably other algorithmic tidbits; wouldn't those be easy to test?
Edit: And downthread people are saying that Linux does do that:)