If so what technique should I use ? I am thinking about using hippomock as they can be used to mock "C" methods. Are there any better approaches ? If so can anyone give an advice, or do you think unit test for kernel is an overkill ?
Since Linux kernel version 5.5 KUnit is available. It's a lightweight unit test framework for the kernel.
For more details have a look at
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With