News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration by jcrben on Friday October 27, 2017 @10:21AM (#15568544)
Are you suggesting that the Linux kernel is unit tested? Last I checked, I couldn't find them. And discussions online say the same (e.g., https://news.ycombinator.com/item?id=9543336 and https://news.ycombinator.com/item?id=9544306). Kernel bugs tend to show up in userspace.

Fortunately, integration-oriented projects have arisen more recently such as https://kernelci.org/ and https://github.com/os-autoinst/openQA/

Anyhow, it would make me a bit sad if the v8 team is writing unit tests tightly coupled to the implementation. I've messed around with the codebase and I didn't see tests like that - could you point to some?

Re:Write tests. Not too many. Mostly integration by titzer on Friday October 27, 2017 @11:26AM (#15569299)
Re:Write tests. Not too many. Mostly integration by jcrben on Friday October 27, 2017 @08:26PM (#15573337)
The ones I glanced at appear to test output without much mocking, which isn't as tightly coupled as unit tests commonly end up.